fix broken og images (flamedfury issue)
This commit is contained in:
parent
bc57948247
commit
4e04e51688
1 changed files with 4 additions and 4 deletions
|
|
@ -46,16 +46,16 @@
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:image"
|
property="og:image"
|
||||||
content="{{ meta.url }}{% if (layout == 'post') %}
|
content="{% if (layout == 'post') %}
|
||||||
/assets/og-images/{{ title | slugify }}-preview.jpeg
|
{{ meta.url }}/assets/og-images/{{ title | slugify }}-preview.jpeg
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ meta.opengraph_default }}
|
{{ meta.url }}{{ meta.opengraph_default }}
|
||||||
{% endif %}"
|
{% endif %}"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:image:alt"
|
property="og:image:alt"
|
||||||
content="{% if (layout == 'post') %}
|
content="{% if (layout == 'post') %}
|
||||||
|
{{ title }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ meta.opengraph_default_alt }}
|
{{ meta.opengraph_default_alt }}
|
||||||
{% endif %}"
|
{% endif %}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue