Add tags to template
This commit is contained in:
parent
4fed56630d
commit
aa17e4f697
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
{% if page.post_date %}
|
{% if page.post_date %}
|
||||||
<span class="pr-1" title='{{ page.post_date }}'>{{ page.post_date }}</span>
|
<span class="pr-1" title='{{ page.post_date }}'>{{ page.post_date }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.tags.all.exists %}
|
||||||
|
{% for tag in page.tags.all %}
|
||||||
|
<a href="" class="mr-1">#{{ tag }}</a>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
Reference in a new issue