commit 39e830e1e1e11259b97cbdfba53edce60c076fcd
parent 2173603b0cf739b5d01b70e5653558d1273a1623
Author: Nuno Sempere <nuno.semperelh@protonmail.com>
Date: Mon, 26 Jun 2023 12:32:12 +0000
do hacky if/if else
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc
@@ -82,9 +82,10 @@ fn blagh_body {
# An user can add this on their own using handlers_body_head anyway.
if (! ~ $base_url 'https://gartzea.com')
echo '<p><a href="index.rss">RSS Feed</a>, <a href="../.newsletter">subscribe per email</a>, <a href="../sitemap">all content</a></p>'
- else
- echo '<p><a href="index.rss">RSS</a>, <a href="../gaceta">gaceta</a>, <a href="../sitemap">todo</a></p>'
- # |<a href="index.atom">Atom Feed</a></div>'
+ if (~ $base_url 'https://gartzea.com')
+ echo '<p><a href="index.rss">RSS</a>, <a href="../gaceta">gaceta</a>, <a href="../sitemap">todo</a></p>'
+ # echo "$base_url"
+ # |<a href="index.atom">Atom Feed</a></div>'
# Markdown posts
# XXX Not sure why this fixes issues with blog setup, probably bug in fltr_cache!