diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index f0a781e..c1cd4e8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -75,6 +75,15 @@ </h1> <span class="post-date">{{ page.date | date(format="%Y-%m-%d") }}</span> + + <!-- johannst: START | attach `tags` to each post listing --> + {% if page.taxonomies.tags %} + {% for tag in page.taxonomies.tags %} + <a href="{{ get_url(path="/tags/") }}/{{ tag }}">#{{ tag }}</a> + {% endfor %} + {% endif %} + <!-- johannst: END --> + </div> {% endfor %} </div> |