Only generate rss feed if rssfeed=true
This commit is contained in:
parent
476c1d6188
commit
4a07ca6cb5
1 changed files with 2 additions and 3 deletions
5
noter.sh
5
noter.sh
|
@ -167,9 +167,8 @@ for file in $(ls -r notes/*.txt); do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# generate page's rss feed
|
# generate page's rss feed if enabled
|
||||||
# TODO: don't embed to site if not enabled:tm:
|
[[ ${rssfeed} == true ]] && generate_rss_feed
|
||||||
generate_rss_feed
|
|
||||||
|
|
||||||
# bottom navigation
|
# bottom navigation
|
||||||
nlog "applying settings"
|
nlog "applying settings"
|
||||||
|
|
Reference in a new issue