{% extends 'layout.html' %} {%- block head_title -%} {{- archive.title }} | {{ site.title -}} {%- endblock -%} {%- block main_body -%} {%- block archive_sidebar_1 -%}{%- endblock -%}

{{ archive.title }}

{%- if archive.author -%} {{ archive.author }} {%- endif -%} {%- if archive.created -%} {{ archive.created | date(format="%Y-%m-%d") }} {%- endif -%} {%- if archive.categories -%}
{%- for category in archive.categories -%} {{ category.title }} {%- endfor -%}
{%- endif -%} {%- if archive.tags -%}
{%- for tag in archive.tags -%} {{ tag.title }} {%- endfor -%}
{%- endif -%}
{%- if archive.tags -%} {%- for tag in archive.tags -%} {%- if "todo" in tag.title -%}

尚未完成/Not completed

{%- break -%} {%- endif -%} {%- endfor -%} {%- endif -%}
    {{ archive.content | safe }}
    {%- block archive_sidebar_2 -%}{%- endblock -%} {%- endblock -%}