diff --git a/config.yaml b/config.yaml index cb62ff0..3877f7f 100644 --- a/config.yaml +++ b/config.yaml @@ -17,7 +17,8 @@ markup: languages: da: title: data.coop - weight: 1 + weight: 1 + images: ["/static/img/some_card_preview_large_en.png"] LanguageName: Dansk menu: nav: @@ -36,6 +37,7 @@ languages: en: title: data.coop weight: 2 + images: ["/static/img/some_card_preview_large_da.png"] LanguageName: English menu: nav: diff --git a/static/static/img/some_card_preview_large_da.png b/static/static/img/some_card_preview_large_da.png new file mode 100644 index 0000000..9c2b4a8 Binary files /dev/null and b/static/static/img/some_card_preview_large_da.png differ diff --git a/static/static/img/some_card_preview_large_en.png b/static/static/img/some_card_preview_large_en.png new file mode 100644 index 0000000..7b73207 Binary files /dev/null and b/static/static/img/some_card_preview_large_en.png differ diff --git a/themes/datacoop2020/layouts/partials/head.html b/themes/datacoop2020/layouts/partials/head.html index c2dd48c..fbad73c 100644 --- a/themes/datacoop2020/layouts/partials/head.html +++ b/themes/datacoop2020/layouts/partials/head.html @@ -17,6 +17,9 @@ + {{ template "_internal/twitter_cards.html" . }} + {{ template "_internal/opengraph.html" . }} + {{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}