integrate cover images

This commit is contained in:
Joshua Seigler 2025-07-01 02:18:35 -04:00
parent 529f9834c3
commit 0ed6a859b8
13 changed files with 698 additions and 14 deletions

View file

@ -5,6 +5,9 @@
{%- for item in collections[tagName] | reverse -%}
{%- if (limit === 0 or loop.index <= limit) -%}
<li>
{% if item.data.cover %}
<img class="collection-cover" src="{{ item.data.cover | url }}">
{% endif %}
<a href="{{item.url}}">{{item.data.title}}</a>
{%- if item.data.date -%}
<aside>{{item.data.date | formatDate("MMMM DD, YYYY") }}</aside>