path: root/apps/blagh/app.rc
diff options
authorGravatar Jeremiah Dow <> 2011-03-31 22:20:06 -0400
committerGravatar Jeremiah Dow <> 2011-03-31 22:20:06 -0400
commit9485c7eeb1fd0c05f46eb13767086d1e9fa73e92 (patch)
tree6df69e96d4db7158c9d4b362623b87e0b0fc3094 /apps/blagh/app.rc
parent98a83f836dbb4551c7f2b3d025c0123c4ac86bfe (diff)
cleanup to stay closer to head
Diffstat (limited to 'apps/blagh/app.rc')
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc
index 9773fed..bc4149d 100644
--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -73,12 +73,11 @@ 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 '<div style="text-align:right">(<a href="index.rss">RSS Feed</a>|<a href="index.atom">Atom Feed</a>)</div>'
- echo '<p><a class="feed" target="blank" href=""><img alt="Subscribe in a reader" src="" /></a></p>'
{ # 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}) {
l=`{echo -n $p|sed 's!'$sitedir^'/?(.*)([0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9])(/[^/]+/)!\2 /\1\2\3!'}
- sed '1s!.*![&]('^$l(2)^') <span class="date">'^$l(1)^'</span>!' < $p/ | sed 's/^=.*/---------------------/'
+ sed '1s!.*![&]('^$l(2)^') <span class="date">'^$l(1)^'</span>!' < $p/
echo # Needed extra \n so markdown doesn't mess up the formatting, probably can be done in sed.
# XXX BUG! Markdown [references] break because multiple markdown documents are merged. Should format each blog post independently.