shithub: werc

Download patch

ref: 1274cd7b973aa800874d8b9b170e9de8fe4363bb
parent: 3513992348db165163f78094a7c955a672273cac
author: uriel <uriel@suckless.org>
date: Sat Jul 5 17:32:29 EDT 2008

Include <link RSS header for 'implicit' blogs

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -192,7 +192,7 @@
     rssuri=$rssuri/
 }
 
-if(! ~ $#blogDirs 0) {
+if(! ~ $#blogDirs 0 || ! ~ $#inBlog 0) {
     rssuri=`{basename -d $uri}
     rssuri=$baseuri`{cleanname $"rssuri^/index.rss}
     extraHeaders=$"extraHeaders ^ \