diff --git a/source/_includes/post/tags.html.twig b/source/_includes/post/tags.html.twig index 882505e72..d1cb66198 100644 --- a/source/_includes/post/tags.html.twig +++ b/source/_includes/post/tags.html.twig @@ -1,9 +1,13 @@ {% if page.tags %} -
- {% for tag in page.tags %} - - {{- tag -}} - - {% endfor %} +
+

+ Tags: + {% for tag in page.tags|sort %} + + {{- tag -}} + + {%- if not loop.last %},{% endif %} + {% endfor %} +

{% endif %} diff --git a/source/blog/tags.html b/source/blog/tags.html index 0adcb598b..b23524198 100644 --- a/source/blog/tags.html +++ b/source/blog/tags.html @@ -5,10 +5,27 @@ title: Tags use: - posts_tags --- -

Tags

+

Blog Tags

- +
+ + + + + + + + + {% for tag, posts in data.posts_tags %} + + + + + {% endfor %} + +
TagNumber of posts
+ + {{ tag }} + + {{ posts|length }}
+