From 57722d8190902f0c91f53317b3699a11cffb01b05cc28c3eadff83c244bba4eb Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <> Date: Fri, 18 Sep 2026 00:00:00 +0000 Subject: Advertise Atom feeds to browsers and readers The feeds were only reachable by following the visible link on a taxonomy or term page, and the homepage did not link to its feed at all. Without a rel="alternate" element in the document head, feed readers and browser extensions cannot discover a feed from the page it belongs to. Emit the link on any page that has an Atom output format, so each page advertises its own feed rather than a hardcoded site-wide one. Co-Authored-By: Claude Opus 5 --- layouts/_partials/head.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'layouts/_partials/head.html') diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 34c93e5..05e8eae 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -15,6 +15,9 @@ {{ else }} {{- end -}} + {{ with .OutputFormats.Get "Atom" }} + + {{- end -}} {{ if (not (fileExists "static/favicon.ico")) }} {{- end }} -- cgit v1.2.3