From 757b3273bbf4001a25c4c9d9c537a52205c630aa Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 8 Aug 2024 18:43:19 -0700 Subject: [PATCH] fix: show page og:image --- package-lock.json | 4 ++-- package.json | 2 +- src/includes/base.liquid | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index dbd1f289..4ea2ba6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "21.6.6", + "version": "21.6.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "21.6.6", + "version": "21.6.7", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index b95e9988..6b2bfebc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "21.6.6", + "version": "21.6.7", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/includes/base.liquid b/src/includes/base.liquid index 3aa99416..78275bcd 100644 --- a/src/includes/base.liquid +++ b/src/includes/base.liquid @@ -72,7 +72,7 @@ {%- when 'movie' -%} {%- assign ogImage = 'https://cdn.coryd.dev' | append: movie.backdrop -%} {%- when 'show' -%} - {%- assign ogImage = 'https://cdn.coryd.dev/shows/backdrops/backdrop-' | append: show.backdrop -%} + {%- assign ogImage = 'https://cdn.coryd.dev' | append: show.backdrop -%} {%- when 'genre' -%} {%- assign genreArtist = genre.artists | shuffleArray | first -%} {%- assign ogImage = 'https://cdn.coryd.dev' | append: genreArtist.image -%}