{#- vim: set et ts=8 sts=4 sw=4 ai: -#} {% extends "layout.html" %} {% block js %} {{ super() }} {% endblock js %} {% block menu %} {% if "home" in config.SIDEBAR_SHORTCUTS.lower().split() %} Home {% endif %} {% if has_permission('READ') and "pageindex" in config.SIDEBAR_SHORTCUTS.lower().split() %} A - Z {% endif %} {% if has_permission('READ') and "changelog" in config.SIDEBAR_SHORTCUTS.lower().split() %} Changelog {% endif %} {% if has_permission('WRITE') and "createpage" in config.SIDEBAR_SHORTCUTS.lower().split() %} Create page {% endif %} {%- if config.SIDEBAR_SHORTCUTS.split()|length > 0 %}
{%- endif %} {% endblock %} {% block navbardropdown %} {% if has_permission('WRITE') and not "createpage" in config.SIDEBAR_SHORTCUTS.lower().split() %} Create page {% endif %} {% if has_permission('READ') and not "pageindex" in config.SIDEBAR_SHORTCUTS.lower().split() %} A - Z {% endif %} {% if has_permission('READ') and not "changelog" in config.SIDEBAR_SHORTCUTS.lower().split() %} Changelog {% endif %} Documentation {{ super() }} {% endblock %} {##} {% block breadcrumbs %} {%- include 'snippets/breadcrumbs.html' -%} {% endblock %} {##} {% block extra_nav -%}
{%- include 'snippets/toc.html' -%}
{%- endblock %}