shithub: werc

Download patch

ref: 68a8deb951fdee3992fae659f52c9ac6feb32703
parent: b890372495c75c386e2917778487c0ac3c01d803
author: Uriel <[email protected]>
date: Fri Apr 16 21:06:16 EDT 2010

Remove direct links to feeds, they can be added in a user's config easily enough.

--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -70,7 +70,9 @@
     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}) {