From 13787def8a1090d16890b69520f5255f01bc54d6 Mon Sep 17 00:00:00 2001 From: Uriel Date: Tue, 14 Jul 2009 22:53:23 +0000 Subject: [PATCH] Add extra new line between posts to avoid formatting from one post to extend to the next. --- apps/blagh/app.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc index 0c11985..5d39368 100644 --- a/apps/blagh/app.rc +++ b/apps/blagh/app.rc @@ -76,6 +76,7 @@ fn blagh_body { 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)^') ('^$l(1)^')!' < $p/index.md + echo # Needed extra \n so markdown doesn't mess up the formatting, probably can be done in sed. } } | $formatter }