diff options
author | Alan Pearce | 2023-06-23 14:01:52 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-23 14:04:53 +0200 |
commit | 19701d1646fcf8f95c51bab60ee4aadc23ece2b5 (patch) | |
tree | 121fba3e659a63de8f9849c35017913520f562e2 /themes/bear/templates/section.html | |
parent | 805b34faf0bbdaf135e16072b8dd9153a24368ad (diff) | |
download | website-19701d1646fcf8f95c51bab60ee4aadc23ece2b5.tar.lz website-19701d1646fcf8f95c51bab60ee4aadc23ece2b5.tar.zst website-19701d1646fcf8f95c51bab60ee4aadc23ece2b5.zip |
Make tag lists more semantic
Diffstat (limited to 'themes/bear/templates/section.html')
-rw-r--r-- | themes/bear/templates/section.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/themes/bear/templates/section.html b/themes/bear/templates/section.html index c7f80de..3042cd2 100644 --- a/themes/bear/templates/section.html +++ b/themes/bear/templates/section.html @@ -22,15 +22,13 @@ <li> No posts yet </li> - {% endfor %} + {%- endfor %} + </ul> + <ul class="tags"> + {%- set tags = get_taxonomy(kind="tags") %} + {%- for post in tags.items %} + <li><a href="{{ post.path | urlencode | safe }}">#{{ post.name }}</a></li> + {%- endfor %} </ul> - <small> - <div> - {% set tags = get_taxonomy(kind="tags") %} - {% for post in tags.items %} - <a href="{{ post.path | urlencode | safe }}">#{{ post.name }}</a> - {% endfor %} - </div> - </small> </main> {% endblock %} |