Twittercard til gavekort og fuldmagt

This commit is contained in:
Rasmus Malver 2021-12-08 19:57:27 +01:00
parent b7c8b025a6
commit 7d5239a2e1
2 changed files with 24 additions and 0 deletions

View file

@ -7,6 +7,29 @@
{% if page.redirect %}
<meta http-equiv='refresh' content='5;url={% if site.active_lang == site.default_lang %} {{site.url}} {% else %} {{site.url}}/{{ site.active_lang }} {% endif %}' />
{% endif %}
{% if page.permalink == "/intetatskjule" %}
<meta property="og:type" content="website">
<meta property="og:image" content="{{ site.url }}/assets/img/og01.png" />
<meta property="og:url" content="{{ site.url }}/intetatskjule" />
<meta property="og:description" content="Kender du nogen der ikke har noget at skjule? Giv dem et postkort, og lad os se deres data." />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@ulovliglogning">
<meta name="twitter:title" content="{{ global.title }}">
<meta name="twitter:description" content="Kender du nogen der ikke har noget at skjule? Giv dem et postkort, og lad os se deres data.">
<meta name="twitter:image" content="{{ site.url }}/assets/img/postkort-twittercard.png">
{% endif %}
{% if page.permalink == "/gavekort" %}
<meta property="og:type" content="website">
<meta property="og:image" content="{{ site.url }}/assets/img/og01.png" />
<meta property="og:url" content="{{ site.url }}" />
<meta property="og:description" content="Giv en donation i gave. Bestil et smukt kort." />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@ulovliglogning">
<meta name="twitter:title" content="{{ global.title }}">
<meta name="twitter:description" content="Giv en donation i gave. Bestil et smukt kort.">
<meta name="twitter:image" content="{{ site.url }}/assets/img/twcard2020.png">
{% endif %}
{% if page.permalink == "/" %}
<meta property="og:type" content="website">
<meta property="og:image" content="{{ site.url }}/assets/img/og01.png" />
<meta property="og:url" content="{{ site.url }}" />
@ -16,6 +39,7 @@
<meta name="twitter:title" content="{{ global.title }}">
<meta name="twitter:description" content="{{ global.description }}">
<meta name="twitter:image" content="{{ site.url }}/assets/img/twcard2020.png">
{% endif %}
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon/favicon-16x16.png">

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 MiB