Add extra new line between posts to avoid formatting from one post to extend to the next.
This commit is contained in:
parent
1963dd3e47
commit
13787def8a
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ fn blagh_body {
|
||||||
for(p in `{get_post_list $blagh_root^$blagh_dirs}) {
|
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!'}
|
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(1)^')!' < $p/index.md
|
sed '1s!.*^') ('^$l(1)^')!' < $p/index.md
|
||||||
|
echo # Needed extra \n so markdown doesn't mess up the formatting, probably can be done in sed.
|
||||||
}
|
}
|
||||||
} | $formatter
|
} | $formatter
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue