diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-06-10 10:38:54 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-06-10 10:40:02 +0200 |
commit | 624592d43e23bd26c3da30e255257b652d0e33ed (patch) | |
tree | 4444553366a903ecb834da253778a5228c85e1bf | |
parent | 6ee7842c98d83403828459e7bbe30b4037bf0b62 (diff) |
Display tags more prominently
-rw-r--r-- | _layouts/post.html | 8 | ||||
-rw-r--r-- | _pages/posts.html | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index cc5caca..3cddce3 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,7 +6,13 @@ layout: default <header> <h1> {{ page.title }} - {% if page.wip %}<small>(WIP)</small>{% endif %} + <br> + <small> + {% if page.wip %}Work in progress!{% endif %} + {% for tag in page.tags %} + #{{ tag }} + {% endfor %} + </small> </h1> </header> <main> diff --git a/_pages/posts.html b/_pages/posts.html index 3bdf010..48bc522 100644 --- a/_pages/posts.html +++ b/_pages/posts.html @@ -47,7 +47,12 @@ being referenced in my articles. <li> <a href="{{ post.url }}">{{ post.title }}</a> - <small>{{ post.date | date: "%Y-%m-%d" }}</small> + <small> + {{ post.date | date: "%Y-%m-%d" }} + {% for tag in post.tags %} + #{{ tag }} + {% endfor %} + </small> </li> {% if forloop.last %} |