leilukin-tumbleblog/themes/umbra/pages/updated.twig

13 lines
437 B
Twig
Raw Normal View History

2024-06-20 14:10:42 +00:00
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if posts.paginated is not empty %}
<div class="filter">{{ "Updated posts" | translate }}</div>
{% endif %}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% else %}
<div role="status" class="filter">{{ "There aren't any updated posts." | translate }}</div>
{% endfor %}
{% endblock %}