Skip to content

Commit 2166c70

Browse files
author
Matt George
committed
updating theme
1 parent 7f88c13 commit 2166c70

File tree

6 files changed

+522
-4
lines changed

6 files changed

+522
-4
lines changed

docs/source/_theme/flask/layout.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{%- extends "basic/layout.html" %}
2+
{%- block extrahead %}
3+
{{ super() }}
4+
{% if theme_touch_icon %}
5+
<link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
6+
{% endif %}
7+
<link media="only screen and (max-device-width: 480px)" href="{{
8+
pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
9+
{% endblock %}
10+
{%- block relbar2 %}{% endblock %}
11+
{% block header %}
12+
{{ super() }}
13+
{% if pagename == 'index' %}
14+
<div class=indexwrapper>
15+
{% endif %}
16+
{% endblock %}
17+
{%- block footer %}
18+
<div class="footer">
19+
&copy; Copyright {{ copyright }}.
20+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
21+
</div>
22+
{% if pagename == 'index' %}
23+
</div>
24+
{% endif %}
25+
{%- endblock %}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<h3>Related Topics</h3>
2+
<ul>
3+
<li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
4+
{%- for parent in parents %}
5+
<li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
6+
{%- endfor %}
7+
{%- if prev %}
8+
<li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
9+
}}">{{ prev.title }}</a></li>
10+
{%- endif %}
11+
{%- if next %}
12+
<li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
13+
}}">{{ next.title }}</a></li>
14+
{%- endif %}
15+
{%- for parent in parents %}
16+
</ul></li>
17+
{%- endfor %}
18+
</ul></li>
19+
</ul>

0 commit comments

Comments
 (0)