fix: show page og:image
This commit is contained in:
parent
bf35b44f7a
commit
757b3273bb
3 changed files with 4 additions and 4 deletions
|
@ -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 -%}
|
||||
|
|
Reference in a new issue