--- layout: default --- {{- content -}} {%- if page.include_collection -%} {%- assign cols = page.include_collection | split: "," -%} {%- for col in cols -%} {%- if forloop.first -%} {%- assign alldocs = site.documents | where_exp: "item", "item.collection == col" -%} {%- assign showcol = false -%} {%- else -%} {%- assign docloop = site.documents | where_exp: "item", "item.collection == col" -%} {%- assign alldocs = alldocs | concat: docloop %} {%- assign showcol = true -%} {%- endif -%} {%- endfor -%} {%- else -%} {%- assign alldocs = site.documents -%} {%- assign showcol = true -%} {% endif %} {%- assign alldocs = alldocs | sort: 'date' | reverse -%} {%- if page.include_missdates -%} {%- else -%} {%- assign alldocs = alldocs | where_exp: "item", "item.date != nil" -%} {%- endif -%} {%- assign postsInYear = alldocs | group_by_exp: 'post', 'post.date | date: "%Y"' -%}
{%- for year in postsInYear -%} {%- endfor -%}
{%- for year in postsInYear -%}

{{ year.name | default: "NA" }}

{%- assign postsInMonth = year.items | group_by_exp: 'post', 'post.date | date: "%B"' -%} {%- for month in postsInMonth -%} {%- assign dateformat = month.name -%} {% if dateformat %}
{% include_cached snippets/datetranslate.html date=dateformat %}
{% endif %} {%- for document in month.items -%}
{{ document.title }}

{% if document.date %} {% assign dateformat = document.date | date: "%A, %d" %} {% if document.last_modified_at %} {% endif %} {% endif %} {%- if showcol -%} {{ document.collection }} {%- endif -%}

{%- if document.header_img or document.og_image -%} {%- endif -%}
{% endfor %}
{% endfor %}
Top
{% endfor %}