Fix tags in posts, and image sizing

This commit is contained in:
Lewis Dale committed 2023-12-30 16:36:45 +00:00
1 parent 4b52993d7b
commit c8c98c7ef9
3 files changed
+10 -2

No files matched your search

+3 -2
View File
@@ -9,11 +9,12 @@ includePrism: true
<div class="e-content stack-md">
{{ content | safe }}
</div>
{% if tags | length %}
{% set filteredTags = tags | except("posts") %}
{% if filteredTags | length %}
<section>
<h2>Tags:</h2>
<ul role="list">
{% for tag in tags %}
{% for tag in filteredTags %}
<li><a class="p-category" href="/post/tag/{{ tag }}" rel="tag">#{{ tag }}</a></li>
{% endfor %}
</ul>