feat(tag): liens sur les previews + page regroupant les articles
This commit is contained in:
parent
d56d217b24
commit
0790829ce3
2 changed files with 12 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
{% for tag in art.tags %}
|
{% for tag in art.tags %}
|
||||||
<a href="">{{ tag }}</a>
|
<a href="{{ SITEURL }}/tag/{{ tag }}">{{ tag }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
11
templates/tag.html
Normal file
11
templates/tag.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
{% import "macros.html" as macro %}
|
||||||
|
{% block content %}
|
||||||
|
<div id="cat-header">
|
||||||
|
<h1>{{ tag.name }}</h1>
|
||||||
|
<hr />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ macro.listArticles(articles_page.object_list) }}
|
||||||
|
{{ macro.paginationArt(articles_previous_page, articles_next_page) }}
|
||||||
|
{% endblock content %}
|
Loading…
Reference in a new issue