diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-06-10 11:01:19 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-06-10 11:01:19 +0200 |
commit | 13934914c0cf8bf359938dcc19dbea82fe33db61 (patch) | |
tree | 5c50f47555f10efd4beed8f2546e7146a91571c5 /_layouts/post.html | |
parent | 624592d43e23bd26c3da30e255257b652d0e33ed (diff) |
Implement tag pages
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 3cddce3..d979adb 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,14 +6,13 @@ layout: default <header> <h1> {{ page.title }} - <br> - <small> - {% if page.wip %}Work in progress!{% endif %} - {% for tag in page.tags %} - #{{ tag }} - {% endfor %} - </small> + {% if page.wip %}<small>Work in progress!</small>{% endif %} </h1> + <small> + {% for tag in page.tags %} + <a href="{{ site.baseurl | prepend: site.url }}/tag/{{ tag | slugify }}">#{{ tag | slugify }}</a> + {% endfor %} + </small> </header> <main> {{ content }} |