{% extends "layouts/default.twig" %} {% block content %} {% if archives %} {# List? (For all/yearly archives) #} {% if GET.year != null %}

${ "Archive of %s" | translate | format((archives | first).year) }

{% else %}

${ "Archives" | translate }

{% endif %} {% for archive in archives %} {% if GET.year != null %}

${ archive.timestamp | strftime("%B" | translate) }

{% else %}

${ archive.timestamp | strftime("%B %Y" | translate) }

{% endif %}
{% endfor %} {% endif %} {% if posts.paginated %} {# Posts? (For daily/monthly archives) #} {% if archive.depth == "day" %}

${ "Archive of %s" | translate | format(archive.timestamp | strftime("%B %d, %Y" | translate)) }

{% endif %} {% if archive.depth == "month" %}

${ "Archive of %s" | translate | format(archive.timestamp | strftime("%B %Y" | translate)) }

{% endif %} {% for post in posts.paginated %} {% include "feathers/" ~ post.feather ~ ".twig" %} {% endfor %} {% endif %} {% if not archives and not posts.paginated %} {# No results #}

${ "No Posts" | translate }

${ "There aren't any posts in the timeframe you specified." | translate }

{% endif %} {% endblock %}