forked from data.coop/website
Add OpenGraph and hellsite preview
This commit is contained in:
parent
be0d2ae924
commit
a5b576e790
|
@ -17,7 +17,8 @@ markup:
|
||||||
languages:
|
languages:
|
||||||
da:
|
da:
|
||||||
title: data.coop
|
title: data.coop
|
||||||
weight: 1
|
weight: 1
|
||||||
|
images: ["/static/img/some_card_preview_large_en.png"]
|
||||||
LanguageName: Dansk
|
LanguageName: Dansk
|
||||||
menu:
|
menu:
|
||||||
nav:
|
nav:
|
||||||
|
@ -36,6 +37,7 @@ languages:
|
||||||
en:
|
en:
|
||||||
title: data.coop
|
title: data.coop
|
||||||
weight: 2
|
weight: 2
|
||||||
|
images: ["/static/img/some_card_preview_large_da.png"]
|
||||||
LanguageName: English
|
LanguageName: English
|
||||||
menu:
|
menu:
|
||||||
nav:
|
nav:
|
||||||
|
|
BIN
static/static/img/some_card_preview_large_da.png
Normal file
BIN
static/static/img/some_card_preview_large_da.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
BIN
static/static/img/some_card_preview_large_en.png
Normal file
BIN
static/static/img/some_card_preview_large_en.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
|
@ -17,6 +17,9 @@
|
||||||
<meta name="msapplication-TileColor" content="#4b3aba">
|
<meta name="msapplication-TileColor" content="#4b3aba">
|
||||||
<meta name="theme-color" content="#4b3aba">
|
<meta name="theme-color" content="#4b3aba">
|
||||||
|
|
||||||
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
|
{{ template "_internal/opengraph.html" . }}
|
||||||
|
|
||||||
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue