Add extra new line between posts to avoid formatting from one post to extend to the next.

This commit is contained in:
uriel 2009-07-14 22:53:23 +00:00
parent f2f07437bf
commit 513f34cba7

View File

@ -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
}