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
|
||||
done
|
||||
|
||||
# generate page's rss feed
|
||||
# TODO: don't embed to site if not enabled:tm:
|
||||
generate_rss_feed
|
||||
# generate page's rss feed if enabled
|
||||
[[ ${rssfeed} == true ]] && generate_rss_feed
|
||||
|
||||
# bottom navigation
|
||||
nlog "applying settings"
|
||||
|
|
Reference in a new issue