1
Fork 0

Add tags to template

This commit is contained in:
Jake Howard 2018-07-26 21:56:00 +01:00
parent 4fed56630d
commit aa17e4f697
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,3 +1,9 @@
{% if page.post_date %}
<span class="pr-1" title='{{ page.post_date }}'>{{ page.post_date }}</span>
{% endif %}
{% if page.tags.all.exists %}
{% for tag in page.tags.all %}
<a href="" class="mr-1">#{{ tag }}</a>
{% endfor %}
{% endif %}