mirror of
https://github.com/TheThomaas/my-online-cookbook.git
synced 2026-01-10 03:51:38 +00:00
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>
|
||||
<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>">
|
||||
|
||||
{% 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>
|
||||
:root {
|
||||
|
|
|
|||
Loading…
Reference in a new issue