{% import "post_macros.html" as post_macros %} {% block title %} {% if page.title %} {{ page.title }} · {% endif %} {% if section.title %} {{ section.title }} · {% endif %} {{ config.title }} {% endblock title %} {% block css %} {% if page.extra.zenn_applause %} {% endif %} {% endblock css %} {% block js %} {% if page.extra.zenn_applause %} {% endif %} {% endblock js %} {% if config.generate_rss %} {% endif %} {% block extra_head %} {% endblock extra_head %} {% if config.extra.zenn_title %} {% block header %} {% endblock header %} {% endif %} {% block main %}
{% if section.title %}

{% include "anchor-link.html" %} {{ section.title }} {% if paginator %} {% if paginator.current_index > 1 %}  ·  Page {{ paginator.current_index }} {% endif %} {% endif %}

{% if not section.extra.zenn_hide_header_meta %} {% block header_meta %}{% endblock header_meta %} {% endif %}
{% endif %} {% if page.title %}

{% include "anchor-link.html" %} {{ page.title }}

{% if not page.extra.zenn_hide_header_meta %} {% block header_meta %}{% endblock header_meta %} {% endif %}
{% endif %} {% block body %}{% endblock body %} {% block page_footer %}{% endblock page_footer %}
{% if config.extra.zenn_menu %}
{% endif %} {# Table of contents #} {% if toc %}

Contents

{% endif %} {# Categories #} {% set categories = get_taxonomy(kind="categories") %} {% if categories.items | length > 0 %}

Categories

{% endif %} {# Tags #} {% set tags = get_taxonomy(kind="tags") %} {% if tags.items | length > 0 %}

Tags

{% for tag in tags.items %} {{ tag.name }} {% endfor %}
{% endif %}

Copyright © {{ config.title }} {{ now() | date(format="%Y") }} {% if config.extra.zenn_source %}
Source {% endif %}

{% endblock main %}