mozilla-sphinx-theme/layout.html

33 строки
1.1 KiB
HTML

{% extends "basic/layout.html" %}
{% block header %}<a href="http://www.mozilla.org/" id="tabzilla">mozilla</a>{% endblock %}
{% block relbar2 %}
{% if theme_github_fork %}
<a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
{% endif %}
{% endblock %}
{%- block document %}
<div class="documentwrapper">
{# Only include the global TOC #}
<div class="sphinxsidebar">
<nav>
<h2><a href="{{ pathto(master_doc) }}">{{ project }}</a></h2>
{{ toctree() }}
</nav>
{%- include "searchbox.html" %}
</div>
<div class="bodywrapper">
<div class="body">
{% block body %} {% endblock %}
</div>
</div>
</div>
{%- endblock %}
{# do not display relbars nor sidebars #}
{% block relbar1 %}{% endblock %}
{% block sidebar1 %}{% endblock %}
{% block sidebar2 %}{% endblock %}
{% block footer %} {{ super() }} <script src="https://www.mozilla.org/tabzilla/media/js/tabzilla.js"></script> {% endblock %}