From ab4dc14c19123b3d527eeb77e4e5d52d4479d0a9 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Sat, 17 Feb 2024 17:00:30 +0200 Subject: [PATCH] only generate rss feed if rssfeed=true --- noter.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/noter.sh b/noter.sh index 6c9cbb3..8c579f0 100755 --- a/noter.sh +++ b/noter.sh @@ -168,8 +168,7 @@ for file in $(ls -r notes/*.txt); do done # generate page's rss feed -# TODO: don't embed to site if not enabled:tm: -generate_rss_feed +[[ $rssfeed == true ]] && generate_rss_feed # bottom navigation nlog "applying settings"