{% extends "layouts" ~ DIR ~ "default.twig" %} {% block content %} {% if posts.paginated is not empty %} <div class="filter">{{ "Updated posts" | translate }}</div> {% for post in posts.paginated %} {% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %} {% endfor %} {% if posts.prev_page() or posts.next_page() %} <!-- Navigation --> <nav class="traversal"> {{- posts.prev_link("Newer posts" | translate) -}} {{- posts.next_link("Older posts" | translate) -}} </nav> {% endif %} {% else %} <div role="status">{{ "There aren't any updated posts." | translate }}</div> {% endif %} {% endblock %}