{# sphinxjp/layout.html ~~~~~~~~~~~~~~~~~~~~~ Master layout template for sphinx-users.jp themes. :copyright: Copyright 2011 by the sphinx-users.jp team, see AUTHORS. :license: MIT, see LICENSE for details. #} {%- block doctype -%} {%- endblock doctype -%} {%- set url_root = pathto('', 1) %} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} {%- set titlesuffix = " — "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {%- macro relbar() %}
{%- if prev %}
{{ _('Previous topic') }}
{{ prev.title }}
{%- endif %} {%- if next %}
{{ _('Next topic') }}
{{ next.title }}
{%- endif %}
{%- endmacro %} {%- macro script() %} {%- for scriptfile in script_files %} {%- endfor %} {%- endmacro %} {%- macro css() %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {%- macro sidebar() %} {%- endmacro -%} {{ metatags }} {%- block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {%- endblock %} {{ css() }} {%- if not embedded %} {{ script() }} {%- if use_opensearch %} {%- endif %} {%- if favicon %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if theme_hatena_star|tobool %} {%- endif %} {%- if theme_hatena_bookmark|tobool %} {%- endif %} {%- endif %}
{% block header %} {% endblock header %} {% block content %}
{%- block body %}{%- endblock body %}
{{ sidebar() }}
{% endblock content %}
{% block footer %} {% endblock footer %}