Add social image for recipes
This commit is contained in:
parent
f224ac623b
commit
1a97b78cee
|
|
@ -6,6 +6,13 @@
|
||||||
<title>{{ metaTitle or title }} - {{ site.name }}</title>
|
<title>{{ metaTitle or title }} - {{ site.name }}</title>
|
||||||
<meta name="description" content="{{ metaDescription or site.metaDescription }}">
|
<meta name="description" content="{{ metaDescription or site.metaDescription }}">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 105 55%22><text y=%22.9em%22 font-size=%2275%22>🍽️</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 105 55%22><text y=%22.9em%22 font-size=%2275%22>🍽️</text></svg>">
|
||||||
|
|
||||||
|
{% if image %}
|
||||||
|
<meta property="og:image" content="{{ image }}" />
|
||||||
|
<meta name="twitter:image" content="{{ image }}" />
|
||||||
|
<meta property="og:image:alt" content="Page image for {{ title }}" />
|
||||||
|
<meta name="twitter:image:alt" content="Page image for {{ title }}" />
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue