{% extends 'layout.html' %} {% import "macros.html" as macros %} {%- block head_title -%} {%- if categories | length == 1 -%} {{- categories[0].title }} | {{ site.title -}} {%- elif tags | length == 1 -%} {{- tags[0].title }} | {{ site.title -}} {%- elif archives | length > 0 -%} 全部文章 | {{ site.title -}} {%- else -%} {{- site.title }} | {{ site.tagline -}} {%- endif -%} {%- endblock -%} {%- block footer_contact -%}{%- endblock -%} {%- block main_body -%} {%- for category in categories -%}

{{ category.title }}

{%- endfor -%} {%- for tag in tags -%}

{{ tag.title }}

{%- endfor -%} {%- if archives -%}

最近文章

{%- endif -%} {%- endblock -%}