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
1 changed files with 6 additions and 0 deletions

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 %}