From eff8c2332301b0b1e3d5c5947e6f3d7485c2eb18 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 8 Sep 2022 17:40:01 -0400 Subject: [PATCH] Make rss link functional and only show up for sections that have one --- themes/red/layouts/partials/footer.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/themes/red/layouts/partials/footer.html b/themes/red/layouts/partials/footer.html index a5089aa..25cc057 100644 --- a/themes/red/layouts/partials/footer.html +++ b/themes/red/layouts/partials/footer.html @@ -5,7 +5,13 @@ Copyright (c) 2022. {{ end }} - {{ with resources.Get "rss-button.gif" }} - + {{ with .OutputFormats.Get "RSS" }} + + {{ with resources.Get "rss-button.gif" }} + + {{ end }} + {{ end }} + +