--- layout: default ---
{%- capture post_type_t -%}{{ page.type | prepend: "archive.of-"}}{%- endcapture -%} {%- comment -%}TODO: deal with date formatting...{%- endcomment -%} {%- if page.type == "year" -%} {%- assign archive-filter = page.date | date: "%Y" -%} {%- elsif page.type == "month" -%} {%- assign archive-filter = page.date | date: "%Y/%m" -%} {%- elsif page.type == "day" -%} {%- assign archive-filter = page.date | date: "%Y/%m/%d" -%} {%- else -%} {%- capture archive-filter -%}{% t page.title %}{%- endcapture -%} {%- endif -%}

{%t post_type_t %}: {{archive-filter}}

{%- include full-post-list.html posts = page.posts -%}