--- id: b27d1547-548a-47ca-8bab-d81edef003ba slug: post-list title: Post List kind: list enabled: true version: 1 --- {% render 'partials/head', page_title: page_title, pico_stylesheet_href: pico_stylesheet_href, language_prefix: language_prefix %}
{% render 'partials/language-switcher', blog_languages: blog_languages, language: language %} {% if archive_context %} {% if show_archive_range_heading and min_date and max_date %} {% if archive_context.kind == 'tag' or archive_context.kind == 'category' %}

{{ archive_context.name }} - {{ min_date.day }}.{{ min_date.month }}.{{ min_date.year }} - {{ max_date.day }}.{{ max_date.month }}.{{ max_date.year }}

{% else %}

{{ 'render.archive' | i18n: language }} {{ min_date.day }}.{{ min_date.month }}.{{ min_date.year }} - {{ max_date.day }}.{{ max_date.month }}.{{ max_date.year }}

{% endif %} {% else %} {% if archive_context.kind == 'tag' or archive_context.kind == 'category' %}

{{ archive_context.name }}

{% elsif archive_context.kind == 'month' and archive_context.month and archive_context.year %} {% assign month_key = 'render.month.' | append: archive_context.month %}

{{ 'render.archive' | i18n: language }} {{ month_key | i18n: language }} {{ archive_context.year }}

{% elsif archive_context.kind == 'year' and archive_context.year %}

{{ 'render.archive' | i18n: language }} {{ archive_context.year }}

{% elsif archive_context.kind == 'day' and archive_context.day and archive_context.month and archive_context.year %} {% assign day_month_key = 'render.month.' | append: archive_context.month %}

{{ 'render.archive' | i18n: language }} {{ archive_context.day }}. {{ day_month_key | i18n: language }} {{ archive_context.year }}

{% else %}

{{ page_title }}

{% endif %} {% endif %} {% endif %} {% render 'partials/menu', menu_items: menu_items, language: language, calendar_initial_year: calendar_initial_year, calendar_initial_month: calendar_initial_month %}
{% for day_block in day_blocks %} {% if day_block.show_date_marker %}
{% for post in day_block.posts %}
{% if post.show_title %} {% assign canonical_post_href = canonical_post_path_by_slug[post.slug] %} {% if canonical_post_href == blank %} {% assign canonical_post_href = '/posts/' | append: post.slug %} {% endif %}

{{ post.title }}

{% endif %} {{ post.content }}
{% endfor %}
{% else %} {% for post in day_block.posts %}
{% if post.show_title %} {% assign canonical_post_href = canonical_post_path_by_slug[post.slug] %} {% if canonical_post_href == blank %} {% assign canonical_post_href = '/posts/' | append: post.slug %} {% endif %}

{{ post.title }}

{% endif %} {{ post.content }}
{% endfor %} {% endif %} {% if day_block.show_separator %} {% endif %} {% endfor %}
{% if has_prev_page or has_next_page %} {% endif %}