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" . }}