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 /layouts/partials/footer.html | |
parent | d354f4a6bd0a002a995f221a66afb4697be78145 (diff) | |
download | hugo-minimalist-theme-de8f5392458d157a421a8b6ac22615f501c27386.tar.gz hugo-minimalist-theme-de8f5392458d157a421a8b6ac22615f501c27386.tar.bz2 hugo-minimalist-theme-de8f5392458d157a421a8b6ac22615f501c27386.zip |
RSS follow link
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 9 |
1 files changed, 9 insertions, 0 deletions
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 }} |