{% if page and page.extra and page.extra.redirect_section %} {% set target = get_section(path=page.extra.redirect_section) %} {% endif %} {% if page and page.extra and page.extra.redirect_page %} {% set target = get_page(path=page.extra.redirect_page) %} {% endif %} {% if page and page.extra and page.extra.redirect_resource %} {% endif %} {% if page and page.extra and page.extra.redirect_raw %} {% endif %} {# cache-busted link/script section (these change all the time so this is necessary) #} {%- block head -%} {% if page.title %} {{ page.title }} ⋮ {% else %}{% if section.title and section.title != config.title %} {{ section.title }} ⋮ {% endif %}{% endif %} {{ config.title }} {%- endblock head -%} {%- block body -%}
{# default #} {% set navKey = '' %} {# when it is a page, show contents #} {% if page %} {% if page.extra and page.extra.default_nav %} {% set navKey = page.extra.default_nav %} {% else %} {% set navKey = 'contents' %} {% endif %} {% endif %} {# when it is a section (which is never a page), show directory #} {% if section %} {% if section.extra and section.extra.default_nav %} {% set navKey = section.extra.default_nav %} {% else %} {% set navKey = 'directory' %} {% endif %} {% endif %}

Contents

    {% if section %} {% set selftoc = section.toc %} {% endif %} {% if page %} {% set selftoc = page.toc %} {% endif %} {% if selftoc %} {% for header in selftoc %}
  • {{ header.title }}
  • {% for header in header.children %}
  • {{ header.title }}
  • {% for header in header.children %}
  • {{ header.title }}
  • {% for header in header.children %}
  • {{ header.title }}
  • {% for header in header.children %}
  • {{ header.title }}
  • {% for header in header.children %}
  • {{ header.title }}
  • {% endfor %}{% endfor %}{% endfor %}{% endfor %}{% endfor %}{% endfor %}{% endif %}

Directory

    {% if section %} {% set ancpathlist = section.ancestors %} {% set selftitle = section.title %} {% set isSecOrPage = True %} {% endif %} {% if page %} {% set ancpathlist = page.ancestors %} {% set selftitle = page.title %} {% set isSecOrPage = True %} {% endif %} {% if isSecOrPage %} {% for ancpath in ancpathlist %} {% set anc = get_section(path=ancpath) %}
  • {{ anc.title }}
  • {% endfor %}
  • {{ selftitle }}
  • {% else %} {% set anc = get_section(path='_index.md') %}
  • {{ anc.title }}
  • {% endif %}
{% if section %} {% if section.subsections or section.pages %}
    {% for subsecpath in section.subsections %} {% set ss = get_section(path=subsecpath) %}
  • {{ ss.title }}
  • {% endfor %} {% for page in section.pages %}
  • {{ page.title }}
  • {% endfor %}
{% endif %} {% endif %}

Settings

{%- block centre -%}
{%- block content -%}

VeraNeko no Page

This is just part of the template HTML. If you see this then something isn't rendering correctly.

{%- endblock content -%}
{%- endblock centre -%}
{#
#} {#
#} {# [Where the comments or chat will be in the future. Try resizing this page!] #} {#
#} {#
#}
{%- endblock body -%}