From de8f5392458d157a421a8b6ac22615f501c27386 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Tue, 24 Oct 2023 01:19:22 +0200 Subject: RSS follow link --- layouts/_default/about.html | 2 +- layouts/partials/footer.html | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/layouts/_default/about.html b/layouts/_default/about.html index a88a9b1..c660941 100644 --- a/layouts/_default/about.html +++ b/layouts/_default/about.html @@ -3,7 +3,7 @@ {{ end }} {{ define "main" }} - {{ range .Paginator.Pages }} + {{ range .Pages }}

+ {{ if in .Site.Params.mainSections .Section }} + + Follow {{ .Section }} updates via RSS feed + + + {{ end }} {{ with .Site.GetPage "footer.md" }} {{ .Content }} {{ end }} -- cgit v1.2.3