{% extends "basic/layout.html" %} {% if not theme_project_icon and favicon %} {% set theme_project_icon = pathto('_static/' ~ theme_touch_icon, 1) + favicon %} {% endif %} {% if not title or "no title" in title %} {% if pagename == "index" %} {% set title = project %} {% else %} {% set title = pagename %} {% endif %} {% endif %} {%- block extrahead %} {{ super() }} {% if theme_touch_icon %} {% endif %} {% if theme_canonical_url %} {% endif %} {{ themata_fetch_syntax_highlighter_css(pathto('_static/' ~ theme_touch_icon, 1), theme_syntax_highlighter, theme_syntax_highlighter_theme, theme_syntax_highlighter_iframe_embed) }} {% if theme_metadata %} {% if theme_metadata.enable %} {% endif %} {% endif %} {% if theme_twitter_metadata %} {% if theme_twitter_metadata.enable %} {% endif %} {% endif %} {% if theme_google_analytics_tracking_id %} {% endif %} {% endblock %} {%- block document %} {% if theme_has_sidebar %} {% if (pagename != 'index') or (pagename == 'index' and not theme_index_is_single) %} {% if pagename not in theme_no_sidebar %} {% endif %} {% endif %} {% else %} {% endif %} {% if pagename in theme_no_sidebar or (pagename == 'index' and theme_index_is_single) %} {% elif theme_sidebar_position == "left" %} {% endif %}
{% block body %} {% endblock %}
{%- endblock %} {% block footer %} {{ themata_fetch_syntax_highlighter_js(pathto('_static/' ~ theme_touch_icon, 1), theme_syntax_highlighter, theme_code_block_editable, theme_syntax_highlighter_theme, theme_syntax_highlighter_iframe_embed) }} {% endblock %} {# do not display relbars nor sidebars #} {% block relbar1 %}{% endblock %} {% block relbar2 %}{% endblock %} {% block sidebar1 %}{% endblock %} {% block sidebar2 %}{% endblock %}