leilukin-tumbleblog/themes/topaz/pages/index.twig

18 lines
472 B
Twig

{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
{% if reason is not defined %}{# Some modules define reason in error states #}
{% for post in posts.paginated %}
{% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %}
{% else %}
<div role="status" class="ribbon">
{{ "Nothing here yet!" | translate }}
</div>
{% endfor %}
{% else %}
<div role="status" class="ribbon">
{{ reason }}
</div>
{% endif %}
{% endblock %}