shithub: werc

Download patch

ref: 30d2aed2724c54b1c9296fa95ec78563c3ce666d
parent: 1aec70911e06d46bcb248b8640e59cfe70c184d8
author: uriel <uriel@engel.se.cat-v.org>
date: Mon Jun 4 10:50:11 EDT 2007

Add rss feed link to blog html pages

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -92,6 +92,7 @@
     if(! ~ $#blogDirs 0) {
         if ( ! ~ $blogTitle '' )
             echo '<h1>'$"blogTitle'</h1>'
+        echo '<div align="right">(<a href="index.rss">rss feed</a>)</div>'
         for ( f in `{ sortedBlogPostList $blogDirs } ) {
             title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
             du=`{ls -l $f}