{#
This Template Shows the Posts Grouped by Year: example.com/archive/
This Template can also be used as the rendering template for Sections, eg: example.com/blog/ example.com/software/
#}
{% extends "base.html" %}
{%- block seo -%}
{{- super() -}}
{%- set title = "Archive" -%}
{%- if config.title -%}
{%- set title_addition = title_separator ~ config.title -%}
{%- else -%}
{%- set title_addition = "" -%}
{%- endif -%}
{%- set description = config.description -%}
{{
{{ post.title }}{%- if not hide_section_dates %} - {%- endif %}
{%- endfor %} {%- endfor %} {%- else %} {%- for year, posts in section_item.pages | group_by(attribute="year") %} {%- if not hide_section_dates %} {%- if section_item.title %}{{ post.title }}{%- if not hide_section_dates %} - {%- endif %}
{%- endfor %} {%- endfor %} {%- endif %}