Add tag listings

This commit is contained in:
Lewis Dale committed 2023-10-18 13:35:02 +01:00
1 parent eb62bfd1c9
commit 53707bb085
6 files changed
+175 -94

No files matched your search

+8
View File
@@ -12,6 +12,14 @@ eleventyComputed:
<div class="e-content stack-md">
{{ content | safe }}
</div>
{% if post.tags | length %}
<ul role="list">
<h2>Tags:</h2>
{% for tag in post.tags %}
<li><a href="/post/tag/{{ tag.slug }}" rel="tag">#{{ tag.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
</article>
<section class="stack-sm">