From 5bc8a20eef0e030df201e10cc889c69dd95f9e62 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Sat, 12 Sep 2026 00:52:41 +0530 Subject: [PATCH 1/3] Advertise Atom feeds from the HTML head --- layouts/partials/meta.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index fc7549bb..5e3f6548 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -2,3 +2,12 @@ +{{/* Advertise feeds (Atom, RSS) so that feed readers can discover them from any page. */}} +{{ range .AlternativeOutputFormats -}} + +{{ end -}} +{{ if not .IsHome -}} +{{ range site.Home.AlternativeOutputFormats -}} + +{{ end -}} +{{ end -}} From 037aa3d98c0781c4b2f6eb6e041862cba519a846 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Sat, 12 Sep 2026 01:52:29 +0530 Subject: [PATCH 2/3] Label page-level and site-wide feeds in a distinct manner --- layouts/partials/meta.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 5e3f6548..45a2dc66 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -4,10 +4,10 @@ {{/* Advertise feeds (Atom, RSS) so that feed readers can discover them from any page. */}} {{ range .AlternativeOutputFormats -}} - + {{ end -}} {{ if not .IsHome -}} {{ range site.Home.AlternativeOutputFormats -}} - + {{ end -}} {{ end -}} From b744232ec68733f3e3b7b2c8ea56cbe995a2ccb7 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Sat, 12 Sep 2026 03:23:33 +0530 Subject: [PATCH 3/3] Join site and page names in page-level feed titles Co-Authored-By: Stefan van der Walt <45071+stefanv@users.noreply.github.com> --- layouts/partials/meta.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 45a2dc66..0636ae07 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -3,8 +3,10 @@ {{/* Advertise feeds (Atom, RSS) so that feed readers can discover them from any page. */}} +{{- $pageFeedTitle := site.Title -}} +{{- if not .IsHome -}}{{- $pageFeedTitle = printf "%s — %s" site.Title .Title -}}{{- end }} {{ range .AlternativeOutputFormats -}} - + {{ end -}} {{ if not .IsHome -}} {{ range site.Home.AlternativeOutputFormats -}}