fix: show page og:image

This commit is contained in:
Cory Dransfeldt 2024-08-08 18:43:19 -07:00
parent bf35b44f7a
commit 757b3273bb
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -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 -%}