swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 2e7d004f8f875639e5324318569b9924cbf54eed
parent d0c850a0fae55b5bc7566878be555c4872541699
Author: Uriel <u@berlinblue.org>
Date:   Sat, 17 Apr 2010 01:06:16 +0000

Remove direct links to feeds, they can be added in a user's config easily enough.
Diffstat:
Mapps/blagh/app.rc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc @@ -70,7 +70,9 @@ fn blagh_body { if (! ~ $"blogTitle '') echo '<h1>'$"blogTitle'</h1>' - echo '<div style="text-align:right">(<a href="index.rss">RSS Feed</a>|<a href="index.atom">Atom Feed</a>)</div>' + # 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 '<div style="text-align:right">(<a href="index.rss">RSS Feed</a>|<a href="index.atom">Atom Feed</a>)</div>' { # XXX Not sure why this fixes issues with blog setup, probably bug in fltr_cache! for(p in `{get_post_list $blagh_root^$blagh_dirs}) {