{%- extends "basic/layout.html" %} {# Do this so that bootstrap is included before the main css file #} {%- block htmltitle %} {{ super() }} {%- endblock %} {%- block extrahead %} {% if theme_touch_icon %} {% endif %} {{ super() }} {% endblock %} {# Displays the URL for the homepage if it's set or the master_doc if it is not #} {% macro homepage() -%} {%- if theme_homepage %} {%- if hasdoc(theme_homepage) %} {{ pathto(theme_homepage) }} {%- else %} {{ theme_homepage }} {%- endif %} {%- else %} {{ pathto(master_doc) }} {%- endif %} {%- endmacro %} {# Displays the URL for the tospage if it's set or falls back to homepage macro #} {% macro tospage() -%} {%- if theme_tospage %} {%- if hasdoc(theme_tospage) %} {{ pathto(theme_tospage) }} {%- else %} {{ theme_tospage }} {%- endif %} {%- else %} {{ homepage() }} {%- endif %} {%- endmacro %} {# Displays the URL for the projectpage if it's set or falls back to homepage macro #} {% macro projectlink() -%} {%- if theme_projectlink %} {%- if hasdoc(theme_projectlink) %} {{ pathto(theme_projectlink) }} {%- else %} {{ theme_projectlink }} {%- endif %} {%- else %} {{ homepage() }} {%- endif %} {%- endmacro %} {# Displays the next and previous links both before and after content #} {% macro render_relations() -%} {% if prev or next %}
{% endif %} {%- endmacro %} {%- macro guzzle_sidebar() %}