fix: recent tracks

This commit is contained in:
Cory Dransfeldt 2024-06-12 16:25:27 -07:00
parent a87bd0ee80
commit 117a466745
2 changed files with 13 additions and 4 deletions

View file

@ -43,9 +43,9 @@
{%- assign ogImage = meta.meta_data.opengraph_default -%}
{%- case schema -%}
{%- when 'music' -%}
{%- assign ogImage = 'https://cdn.coryd.dev' | append: music.recent.artists[0].image -%}
{%- assign ogImage = 'https://cdn.coryd.dev' | append: music.week.artists[0].image -%}
{%- when 'music-index' -%}
{%- assign ogImage = 'https://cdn.coryd.dev' | append: music.recent.artists[0].image -%}
{%- assign ogImage = 'https://cdn.coryd.dev' | append: music.week.artists[0].image -%}
{%- when 'artist' -%}
{%- assign ogImage = 'https://cdn.coryd.dev' | append: artist.image -%}
{%- when 'genre' -%}