{% macro neighbours(neighbours, modifier, tag) %} {# {% if neighbours[2] %} go to {{ neighbours[2].type }} {% endif %} #} {% if neighbours[0] or neighbours[1] %}
{% endif %} {% endmacro %} {% macro tagInformation(tag, dependencies) %} {% endmacro %} {% macro tagHamburger(tag, neighboursList, neighboursModifier, dependencies) %}
{{ neighbours(neighboursList, neighboursModifier, tag) }}
{% if tag.type in ["definition", "example", "exercise", "lemma", "proposition", "remark", "remarks", "situation", "theorem"] %}
{{ tagInformation(tag, dependencies) }}
{% endif %} {% endmacro %} {% macro tagSidebar(tag, neighboursList, neighboursModifier, dependencies, filename) %}
{{ neighbours(neighboursList, neighboursModifier, tag) }}

{% if tag.type == "part" %} {#View Part {{ tag.ref }} as pdf#} {% else %} View {{ tag.type | capitalize }} {{ tag.ref }} as pdf {% endif %} {% if tag.type in ["definition", "example", "exercise", "lemma", "proposition", "remark", "remarks", "situation", "theorem"] %}
{{ tagInformation(tag, dependencies) }}
{% endif %} {% endmacro %} {% macro breadcrumb(breadcrumb) %} {% for parent in breadcrumb %} {{ parent.type | capitalize }} {{ parent.ref }}{% if parent.name %}: {{ parent.name | safe }}{% endif %} {% if loop.last %}(cite){% endif %} {% endfor %} {% endmacro %} {% macro singlePageLinks() %} {% endmacro %} {% macro badges(tag) %} {% if tag.slogan %} slogan {% endif %} {% if tag.history %} historical remark {% endif %} {% if tag.reference %} reference {% endif %} {% endmacro %}