aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/about.html2
-rw-r--r--layouts/partials/footer.html9
2 files changed, 10 insertions, 1 deletions
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 }}
<div class="stripe-dark">
<div class="mw7 center pv2 lh-copy f4-ns ph1">
<h2
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e68d43a..d291ddf 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,14 @@
<footer class="bg-black w-100 pa3 near-white">
<div class="mw7 center">
+ {{ if in .Site.Params.mainSections .Section }}
+ <a
+ href="{{ .RelPermalink }}index.xml"
+ class="link color-inherit db tc mv2"
+ >
+ Follow {{ .Section }} updates via RSS feed
+ <i class="fa-solid fa-rss"></i>
+ </a>
+ {{ end }}
{{ with .Site.GetPage "footer.md" }}
{{ .Content }}
{{ end }}