fix: image url
This commit is contained in:
parent
e0f5351929
commit
0d030883a8
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@
|
||||||
{%- assign ogImage = meta.meta_data.opengraph_default -%}
|
{%- assign ogImage = meta.meta_data.opengraph_default -%}
|
||||||
{%- case schema -%}
|
{%- case schema -%}
|
||||||
{%- when 'blog' -%}
|
{%- when 'blog' -%}
|
||||||
{%- assign ogImage = meta.url | append: '/assets/img/ogi/' | append: title | slugifyString | append: '-preview.png' -%}
|
{%- assign ogBlogSlug = title | slugifyString -%}
|
||||||
|
{%- assign ogImage = meta.url | append: '/assets/img/ogi/' | append: ogBlogSlug | append: '-preview.png' -%}
|
||||||
{%- when 'music' -%}
|
{%- when 'music' -%}
|
||||||
{%- assign ogImage = music.recent.artists[0].image -%}
|
{%- assign ogImage = music.recent.artists[0].image -%}
|
||||||
{%- when 'music-index' -%}
|
{%- when 'music-index' -%}
|
||||||
|
|
Reference in a new issue