25 lines
809 B
Text
25 lines
809 B
Text
|
|
<li>
|
||
|
|
<a href="{{ item.page.url }}">
|
||
|
|
{% if item.data.images[0] %}
|
||
|
|
<figure>
|
||
|
|
<img
|
||
|
|
src="{{ item.data.images[0].src }}"
|
||
|
|
alt=""
|
||
|
|
style="{% if item.data.images[0].pixel %}image-rendering:pixelated;{% endif %}
|
||
|
|
{% if item.data.images[0].position %}object-position:{{ item.data.images[0].position }};{% endif %}
|
||
|
|
{% if item.data.images[0].fit %}object-fit:{{ item.data.images[0].fit }};{% endif %}">
|
||
|
|
<figcaption>
|
||
|
|
{{ item.page.fileSlug }}
|
||
|
|
{% if item.data.images.length > 1 %}
|
||
|
|
<p class="count">(+{{ item.data.images.length| minus: 1 }})</p>
|
||
|
|
{% endif %}
|
||
|
|
</figcaption>
|
||
|
|
{% if item.data.images[0].date %}
|
||
|
|
<time datetime="{{ item.data.images[0].date | ISO }}">
|
||
|
|
{{ item.data.images[0].date | readable }}
|
||
|
|
</time>
|
||
|
|
{% endif %}
|
||
|
|
</figure>
|
||
|
|
{% endif %}
|
||
|
|
</a>
|
||
|
|
</li>
|