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 }