Display date in post listing.

This commit is contained in:
Uriel 2009-02-01 20:03:27 +01:00
parent 64311bb30b
commit 64e3d86654

View file

@ -54,9 +54,9 @@ fn blagh_setup_feed_handlers {
fn blagh_body { 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^$req_path'!!'} l=`{echo -n $p|sed 's!'$sitedir^$req_path'./([0-9]+/[0-9][0-9]/[0-9][0-9])(.*)!\1 ./\1\2!'}
sed '1s!.*![&]('$l')!' < $p/index.md | $formatter sed '1s!.*![&]('^$l(2)^') ('^$l(1)^')!' < $p/index.md
} } | $formatter
} }
fn get_post_list { fn get_post_list {