diff --git a/templates/macros.html b/templates/macros.html index 63c8b3a..973e2fd 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -19,7 +19,7 @@
{% for tag in art.tags %} - {{ tag }} + {{ tag }} {% endfor %}
{% endif %} diff --git a/templates/tag.html b/templates/tag.html new file mode 100644 index 0000000..f428101 --- /dev/null +++ b/templates/tag.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% import "macros.html" as macro %} +{% block content %} +
+

{{ tag.name }}

+
+
+ +{{ macro.listArticles(articles_page.object_list) }} +{{ macro.paginationArt(articles_previous_page, articles_next_page) }} +{% endblock content %}