From 2d2cfc07638fb00f1c7b485d635c0ccd97189daa Mon Sep 17 00:00:00 2001 From: Onni Hakala Date: Wed, 25 Oct 2023 09:22:45 +0200 Subject: [PATCH] Add automatic discovery for Atom feeds so it's easier to subscribe to new content on the site --- layouts/partials/docs/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/docs/head.html b/layouts/partials/docs/head.html index 0369834d..040869eb 100644 --- a/layouts/partials/docs/head.html +++ b/layouts/partials/docs/head.html @@ -32,6 +32,10 @@ {{ block "favicon" . }}{{ partialCached (printf "%s/%s" ($.Scratch.Get "pathName") "head/favicon.html") . }}{{ end }} {{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "head/opengraph") . }} {{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "head/twitter_cards") . }} + + {{- with .Site.Title }} + + {{- end }} {{ if eq .Site.Params.docs.darkMode true -}} {{ $darkModeInit := resources.Get (printf "/%s/%s" ($.Scratch.Get "pathName") "js/darkmode-init.js") | js.Build | minify -}}