From 3ac62d2ab932fe74099a69e4d3740d27afb1d681 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 19 Feb 2024 12:42:59 -0800 Subject: [PATCH] fix: media grid --- package.json | 2 +- src/_includes/now.liquid | 2 +- src/_includes/partials/now/media-grid.liquid | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 109a7d2c..99b1b4cf 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index 5d7c982f..af120a8a 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -9,7 +9,7 @@ layout: default {{ 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 %} diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/now/media-grid.liquid index 99e13d5f..5dede610 100644 --- a/src/_includes/partials/now/media-grid.liquid +++ b/src/_includes/partials/now/media-grid.liquid @@ -37,8 +37,7 @@ 'lazy' {%- endif -%} {%- endcapture -%} - - {{ item.image}} + {{ alt }} {% endfor %}