From 8fd2e34341b068c5aeea28d4de15a3e8f6797e31 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 10 Jul 2024 09:05:52 -0700 Subject: [PATCH] fix: image paths --- package-lock.json | 5 +++-- package.json | 2 +- src/_data/tv.js | 4 ++-- src/pages/main/watching/show.html | 8 ++++---- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 344b4bd9..05aba4ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "20.0.0", + "version": "20.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "20.0.0", + "version": "20.0.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", @@ -2157,6 +2157,7 @@ "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.15.0.tgz", "integrity": "sha512-u5lYWhW8ioT+O3FdCcp5U+hiPEGNO4xASCFlCHA+k5rMTJwDIa2c2KF111ZDKc2xGM7LXPvMoNRIrBfbLNpRBg==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^10.0.0" }, diff --git a/package.json b/package.json index 7f716747..eb99ff30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "20.0.0", + "version": "20.0.1", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/tv.js b/src/_data/tv.js index 284c046c..681ecbf2 100644 --- a/src/_data/tv.js +++ b/src/_data/tv.js @@ -47,8 +47,8 @@ const fetchAllShows = async () => { const prepareShowData = (show) => { return { ...show, - image: show.art?.filename_disk ? show.art.filename_disk : '', - backdrop: show.backdrop?.filename_disk ? show.backdrop.filename_disk : '' + image: show.art?.filename_disk ? `/${show.art.filename_disk}` : '', + backdrop: show.backdrop?.filename_disk ? `/${show.backdrop.filename_disk}` : '' } } diff --git a/src/pages/main/watching/show.html b/src/pages/main/watching/show.html index e00a796f..8b196f62 100644 --- a/src/pages/main/watching/show.html +++ b/src/pages/main/watching/show.html @@ -15,10 +15,10 @@ schema: show