feat: fix tag list in catalogue-item.html

This commit is contained in:
Devin Haska 2024-11-12 16:18:12 -08:00
parent c2471ea467
commit 6084396e0b
2 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{% macro one(post, format = "MM/DD") %}
{% macro one(post, fmt = "MM/DD") %}
<article class="[ posts-list-item column-gap-0.5 justify-between line-height-l ]">
<a href="{{ post.url }}">{{ post.data.title }}</a>
<time datetime="{{ post.date }}" class="[ text-fadeText ]">{{ post.date | formatDate(<built-in function format>) }}</time>
<time datetime="{{ post.date }}" class="[ text-fadeText ]">{{ post.date | formatDate(fmt) }}</time>
<p class="[ text-fadeText font-size-s line-height-m ]">{{ post.data.excerpt }}</p>
</article>
{% endmacro %}