Make tag lists more semantic
1 file changed, 7 insertions(+), 9 deletions(-)
changed files
M themes/bear/templates/section.html → themes/bear/templates/section.html
@@ -22,15 +22,13 @@ {% else %} <li> No posts yet </li> - {% endfor %} + {%- 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> + <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> </main> {% endblock %}