Add taglist to main blog listing
Build and copy to prod / build-and-copy (push) Successful in 2m8s

This commit is contained in:
Lewis Dale committed 2024-05-06 12:39:49 +01:00
1 parent 2c4187a0df
commit 2c56a12736
2 files changed
+10 -1

No files matched your search

+5
View File
@@ -13,6 +13,11 @@
<h2><a href="{{ item.url }}">{{ item.data.title | safe }}</a></h2>
<time class="block" datetime="{{ item.date | dateToRfc3339 }}">{{ item.date | dateDisplay }}</time>
<p class="e-content p-summary">{{ item | excerpt }}</p>
<ul role="list" class="tags">
{% for t in item.data.tags | except("posts") | except("draft") %}
<li><a href="/post/tag/{{ t }}" rel="tag">#{{ t }}</a></li>
{% endfor %}
</ul>
<a href="{{ item.url }}" class="inline-block">Read more</a>
</li>
{% endfor %}