fix: media grid

This commit is contained in:
Cory Dransfeldt 2024-02-19 12:42:59 -08:00
parent ca2c7f177d
commit 3ac62d2ab9
No known key found for this signature in database
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "6.2.8",
"version": "6.2.9",
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
"type": "module",
"scripts": {

View file

@ -9,7 +9,7 @@ layout: default
<style>{{ css }}</style>
{{ content }}
{% render "partials/now/media-grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %}
{% render "partials/now/media-grid.liquid", data:albums, icon: "vinyl", title: "Albums", shape: "square", count: 8 %}
{% render "partials/now/albumReleases.liquid", albumReleases:albumReleases %}
{% render "partials/now/media-grid.liquid", data:books, icon: "books", title: "Books", shape: "vertical", count: 6 %}
{% render "partials/now/links.liquid", links:links %}

View file

@ -37,8 +37,7 @@
'lazy'
{%- endif -%}
{%- endcapture -%}
<!-- <img src="{{ item.image }}" alt="{{ alt }}" loading="{{ loadingStrategy }}" /> -->
{{ item.image}}
<img src="{{ item.image }}" alt="{{ alt }}" loading="{{ loadingStrategy }}" />
</div>
</a>
{% endfor %}