{# haiku/layout.html ~~~~~~~~~~~~~~~~~ Sphinx layout template for the haiku theme. :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {% extends "basic/layout.html" %} {# do not display relbars #} {% block relbar1 %} {% endblock %} {% block relbar2 %} {% endblock %} {% macro script() %} {% endmacro %} {% macro scripts() %} {# For all pages other than the search page append the scripts to the body to make the page load faster #} {%- if pagename != "search" -%} {%- for scriptfile in script_files %} {%- endfor %} {%- endif %} {%- for scriptfile in odsa_scripts %} {%- endfor %} {% endmacro %} {% macro login() %} {{ login }}
{% endmacro %} {% macro registration() %} {{ register }} {% endmacro %} {% macro nav() %} {%- block haikurel1 %} {%- endblock %} {%- if prev %} « {{ prev.title }} :: {%- endif %} {{ _('Contents') }} {%- if next %} :: {{ next.title }} » {%- endif %} {%- block haikurel2 %} {%- endblock %} {# | Knowledge Map#} {% endmacro %} {% macro btm_nav() %} {%- block haikurel3 %} {%- endblock %} {%- if prev %} « {{ prev.title }} :: {%- endif %} {{ _('Contents') }} {%- if next %} :: {{ next.title }} » {%- endif %} {%- block haikurel4 %} {%- endblock %} {# | Knowledge Map#} {% endmacro %} {% block content %}{%- if sourcename %} {{ _('Show Source') }} | {%- endif %} {%- if pagename=="ToDo" or pagename =="search" -%} {%- else %} | {{ about }} {%- endif %} {{ nav() }}
{{ contact }} || {{ privacy }} | | {{ license }} {{ btm_nav() }}