integrate cover images
This commit is contained in:
parent
529f9834c3
commit
0ed6a859b8
13 changed files with 698 additions and 14 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue