{% set url_prefix = config.extra.docs_prefix %} {% if page %}{{ page.title | e }}{% else %}Page Not Found{% endif %} | {{ config.site_name | e }} {% if page and page.meta.is_reference %}{% endif %} {% macro nav_item(item) %}
  • {% if item.children %}
    {{ item.title }}
    {% elif item.is_link or item.is_page %} {% set url = item.url %} {{ item.title }} {% else %} {{ item.title }} {% endif %}
  • {% endmacro %} {% macro toc_item(item) %}
  • {{ item.title }} {% if item.children %} {% endif %}
  • {% endmacro %}
    {% if page and page.meta.is_reference %} {% elif page %}
    EpiLib guide
    {% endif %} {% block content %}{{ page.content }}{% endblock %}
    {# Right-column rail: page TOC (hidden if the page has only a single heading, since the entry would just point back to the page title) and the Edit-on-GitHub link below it. #} {% block rail %} {% set toc_list = page.toc|list if page else [] %} {% set has_toc = toc_list|length > 1 or (toc_list and toc_list[0].children) %} {% if page and (page.edit_url or has_toc) %} {% endif %} {% endblock %}