-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
layout.html
114 lines (107 loc) · 4.24 KB
/
layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{% extends "basic/layout.html" %}
{%- block scripts %}
{{ super() }}
<script type="text/javascript" src="{{ pathto('_static/sidebar.js', 1) }}"></script>
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{%- endblock %}
{# Add the google webfonts needed for the logo #}
{% block extrahead %}
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>
{% endblock %}
{% block header %}
<div class="topbar">
<a class="brand" title="{{ _('Documentation Home') }}" href="{{ pathto(master_doc) }}"><span id="logotext1">{{ theme_logotext1 }}</span><span id="logotext2">{{ theme_logotext2 }}</span><span id="logotext3">{{ theme_logotext3 }}</span></a>
<ul>
{% if theme_astropy_project_menubar == true %}
<li>
<div class="dropdown">
<a href = "#">About</a>
<div class="dropdown-content">
<ul>
<li><a href="http://www.astropy.org/about.html">About Astropy</a></li>
<li><a href="http://www.astropy.org/code_of_conduct.html">Code of Conduct</a></li>
<li><a href="http://www.astropy.org/acknowledging.html">Acknowledging & Citing</a></li>
</ul>
</div>
</div>
</li>
<li><a href="http://www.astropy.org/help.html">Get Help</a></li>
<li><a href="http://www.astropy.org/contribute.html">Contribute</a></li>
<li><a href="http://www.astropy.org/affiliated/index.html">Affiliated Packages</a></li>
<li><a href="http://www.astropy.org/team.html">Team</a></li>
{% endif %}
<li><a class="homelink" title="Astropy Homepage" href="http://www.astropy.org"></a></li>
<li><a title="{{ _('General Index') }}" href="{{ pathto('genindex') }}">Index</a></li>
<li><a title="{{ _('Module Index') }}" href="{{ pathto('py-modindex') }}">Modules</a></li>
<li>
{% block sidebarsearch %}
{% include "searchbox.html" %}
{% endblock %}
</li>
</ul>
</div>
{% endblock %}
{% block relbar1 %}
<div class="related">
<h3>{{ _('Navigation') }}</h3>
<ul>
{%- if next %}
<li class="right">
<a href="{{ next.link|e }}" title="{{ next.title|striptags|e }}">
next {{ "»"|safe }}
</a>
</li>
{%- endif %}
{%- if prev %}
<li class="right">
<a href="{{ prev.link|e }}" title="{{ prev.title|striptags|e }}">
{{ "«"|safe }} previous
</a>
{% if next %}{{ reldelim2 }}{% endif %}
</li>
{%- endif %}
{%- block rootrellink %}
<li>
<a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>
{{ reldelim1 }}
</li>
{%- endblock %}
{%- for parent in parents %}
<li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
{%- endfor %}
{# Don't put the title in the relbar for the first (index) page. #}
{% if prev %}<li>{{ title }}</li>{% endif %}
{%- block relbaritems %} {% endblock %}
</ul>
</div>
{% endblock %}
{# Silence the bottom relbar. #}
{% block relbar2 %}{% endblock %}
{%- block footer %}
<footer class="footer">
<p class="pull-right">
{%- if edit_on_github %}
<a href="{{ edit_on_github }}">{{ edit_on_github_page_message }}</a>
{%- endif %}
{%- if show_source and has_source and sourcename %}
<a href="{{ pathto('_sources/' + sourcename, true)|e }}"
rel="nofollow">{{ _('Page Source') }}</a>
{%- endif %}
<a href="#">Back to Top</a></p>
<p>
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
{%- else %}
{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}<br/>
{%- endif %}
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://www.sphinx-doc.org/en/stable/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
{%- endif %}
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last built {{ last_updated }}.{% endtrans %} <br/>
{%- endif %}
</p>
</footer>
{%- endblock %}