From 7db1152b23c47fdea4de06417d07e4d3a698f83f Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 23 Jul 2020 21:27:11 +0200 Subject: [PATCH] add default favicons and microformats --- CHANGELOG.md | 4 ++-- layouts/_default/baseof.html | 1 + layouts/partials/head/favicons.html | 4 +++- layouts/partials/head/microformats.html | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/head/microformats.html diff --git a/CHANGELOG.md b/CHANGELOG.md index f4bf5c6..429a5db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ - ENHANCEMENT - - fix base path for auto-generated favicons - - add partial to set rel-me links, see https://microformats.org/wiki/rel-me + - enable microformats e.g. opengraph and twitter cards by default + - add a minimal set of default favicons diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c3810b2..f65736b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,6 +7,7 @@ {{ partial "head/favicons" . }} {{ partial "head/rel-me" . }} + {{ partial "head/microformats" . }} {{ partial "head/others" . }} diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html index 4326806..b67a1b4 100644 --- a/layouts/partials/head/favicons.html +++ b/layouts/partials/head/favicons.html @@ -1 +1,3 @@ - + + + diff --git a/layouts/partials/head/microformats.html b/layouts/partials/head/microformats.html new file mode 100644 index 0000000..ff8a99b --- /dev/null +++ b/layouts/partials/head/microformats.html @@ -0,0 +1,3 @@ +{{ template "_internal/opengraph.html" . }} +{{ template "_internal/twitter_cards.html" . }} +{{ template "_internal/schema.html" . }}