{# readability/layout.html ~~~~~~~~~~~~~~~~~~~~~~~ Base layout template for readability theme. :copyright: Copyright 2012 by Tsuyoshi Tokuda. :license: BSD, see LICENSE for details. #} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %} {%- set url_root = pathto('', 1) %} {%- macro script() %} {%- for scriptfile in script_files %} {%- endfor %} {%- endmacro %} {%- macro css() %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {%- macro sidebar() %} {%- if render_sidebar %} {%- endif %} {%- endmacro %} {%- block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {%- endblock %} {{ metatags }} {%- if favicon %} {%- endif %} {%- block linktags %} {%- if hasdoc('about') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('copyright') %} {%- endif %} {%- if parents %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {{ css() }} {{ script() }} {%- block extrahead %}{% endblock %} {%- block content %}
{%- block document %} {% block body %}{% endblock %} {%- endblock %}
{%- include "relations.html" %} {%- block footer %}{% endblock %}
{%- endblock %} {{ sidebar() }}