Používání maker v šablonách

This commit is contained in:
Emil Miler
2021-02-09 14:44:13 +01:00
parent dbb6fb0b80
commit 3878770f1d
5 changed files with 70 additions and 53 deletions

View File

@ -4,12 +4,6 @@
<main>
<h2>Tagy</h2>
<hr>
{% if terms %}
<ul>
{% for term in terms %}
<li><a href="{{ term.permalink }}">{{ term.name | capitalize() }}</a> ({{ term.pages | length }})</li>
{% endfor %}
</ul>
{% endif %}
{{ macro::list_terms() }}
</main>
{% endblock content %}