From b1e2c8fd5cb5dfa46bc440a12eafaf56cd844b1c Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Mon, 24 Nov 2025 20:54:57 +0100 Subject: Docs --- layouts/partials/head.html | 60 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 layouts/partials/head.html (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..22cd4e0 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,60 @@ + + + + {{ if hugo.IsProduction -}} + + {{ else -}} + + {{ end -}} + {{ partialCached "favicons.html" . }} + + {{ with .Title }}{{ . }} – {{ end -}} + {{ .Site.Title -}} + + + + {{ with .Params.canonical }} + + {{ else }} + + {{ end }} + + {{ partial "opengraph.html" . }} + {{ template "_internal/schema.html" . -}} + {{ template "_internal/twitter_cards.html" . -}} + + {{ partialCached "head-css.html" . }} + + + + {{- if and (eq hugo.Environment "production") (or .Site.GoogleAnalytics .Site.Config.Services.GoogleAnalytics.ID) }} + + {{ partial "google-analytics.html" . }} + {{- end }} + + + + + {{ partial "custom/head-end.html" . }} + -- cgit v1.2.3