diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-24 01:19:22 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-24 01:36:23 +0200 |
commit | de8f5392458d157a421a8b6ac22615f501c27386 (patch) | |
tree | 41612a9f65a0899b2e9fcc03e5dbbcec39fc8adf | |
parent | d354f4a6bd0a002a995f221a66afb4697be78145 (diff) | |
download | hugo-minimalist-theme-de8f5392458d157a421a8b6ac22615f501c27386.tar.gz hugo-minimalist-theme-de8f5392458d157a421a8b6ac22615f501c27386.tar.bz2 hugo-minimalist-theme-de8f5392458d157a421a8b6ac22615f501c27386.zip |
RSS follow link
-rw-r--r-- | layouts/_default/about.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 9 |
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 }} |