13 lines
495 B
Twig
13 lines
495 B
Twig
|
{% extends "layouts" ~ DIR ~ "default.twig" %}
|
||
|
|
||
|
{% block content %}
|
||
|
{% if posts.paginated is defined and posts.paginated is not empty %}
|
||
|
<div class="filter">{{ "Posts in category “%s”" | translate | format(category | fix) }}</div>
|
||
|
{% for post in posts.paginated %}
|
||
|
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
|
||
|
{% endfor %}
|
||
|
{% elseif reason is defined %}
|
||
|
<div role="status" class="filter">{{ reason }}</div>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|