feat: independent cdn
This commit is contained in:
parent
152f7f89d3
commit
38cca61033
25 changed files with 125 additions and 123 deletions
|
@ -62,7 +62,7 @@
|
|||
{%- when 'movie' -%}
|
||||
{%- assign ogImage = movie.backdrop -%}
|
||||
{%- when 'show' -%}
|
||||
{%- assign ogImage = meta.url | append: '/media/shows/backdrops/backdrop-' | append: show.tmdb_id | append: '.jpg' -%}
|
||||
{%- assign ogImage = 'https://coryd-dev.b-cdn.net/shows/backdrops/backdrop-' | append: show.tmdb_id | append: '.jpg' -%}
|
||||
{%- when 'genre' -%}
|
||||
{%- assign genreArtist = genre.artists | shuffleArray | first -%}
|
||||
{%- assign ogImage = genreArtist.image -%}
|
||||
|
|
Reference in a new issue