diff options
Diffstat (limited to 'theme/templates/blog.html')
-rw-r--r-- | theme/templates/blog.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/theme/templates/blog.html b/theme/templates/blog.html index aa2566c..ff09d37 100644 --- a/theme/templates/blog.html +++ b/theme/templates/blog.html @@ -13,6 +13,15 @@ main %} <time datetime='{{ post.date | strftime("%Y-%m-%d") }}' >{{ post.date|strftime("%Y-%m-%d") }}</time > - <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a> + <div class="post-content"> + <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a> + {% if post.filetags %} + <div class="post-tags"> + {% for tag in post.filetags %} + <span class="tag">{{ tag }}</span> + {% endfor %} + </div> + {% endif %} + </div> </div> {% endfor %} {% endblock %} |