{% extends "basic/layout.html" %} {%- macro pybtex_toc() %} Table of contents {%- endmacro %} {%- macro pybtex_relbar() %}
Pybtex / {%- if pagename != master_doc %} {{ shorttitle|e }} / {%- for parent in parents %} {{ parent.title }} / {%- endfor %} {{ title }} {%- else %} {{ shorttitle|e }} {%- endif %}
 
{%- endmacro %} {%- macro pybtex_prev_next() %}
{%- if prev and prev != master_doc %}
← {{ prev.title }}
{%- endif %}
{%- if pagename != master_doc and next %} {{- pybtex_toc() }} {%- else %}   {%- endif %}
{%- if next %} {{ next.title }} → {%- elif prev %} {{- pybtex_toc() }} {%- endif %}
{%- endmacro %} {%- block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {% if not site %}({{ release }}){% endif %} {%- endblock %} {%- block css %} {# is is the right place for meta tags? #} {{ super() }} {%- endblock %} {%- block scripts %} {%- if not site %}{{ super() }}{% endif %} {%- endblock %} {%- block relbar1 %} {%- if not site %}{{ pybtex_relbar() }}{% endif %} {%- endblock %} {%- block relbar2 %} {%- if not site %}{{ pybtex_prev_next() }}{% endif %} {%- endblock %} {%- block footer %} {%- if not site %}{{ super() }}{% endif %} {%- endblock %}