werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

commit 2173603b0cf739b5d01b70e5653558d1273a1623
parent 0856fbb5b37ce2165cf6d406d7b864da1a0c7115
Author: Nuno Sempere <nuno.semperelh@protonmail.com>
Date:   Sun, 25 Jun 2023 14:32:48 +0000

gartzea special case

Diffstat:
Mapps/blagh/app.rc | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc @@ -80,7 +80,10 @@ fn blagh_body { # Direct links to feeds are disabled because they are not very useful, add clutter and might waste pagerank. # An user can add this on their own using handlers_body_head anyway. - echo '<p><a href="index.rss">RSS Feed</a>, <a href="../.subscribe">subscribe per email</a>, <a href="../sitemap">all content</a></p>' + 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>' # Markdown posts