summaryrefslogtreecommitdiff
path: root/apps/blagh/app.rc
diff options
context:
space:
mode:
authorGravatar Jeremiah Dow <jeremdow@gmail.com> 2011-03-25 20:46:05 -0400
committerGravatar Jeremiah Dow <jeremdow@gmail.com> 2011-03-25 20:46:05 -0400
commita654e3bf3424b2c70b83480b7b8692fad3167aea (patch)
tree4d14aa68064f7feac7c46cf8aa32a401afbe5a01 /apps/blagh/app.rc
parent420b63896e1545a1cf7611592fd0cde1b75a9a10 (diff)
downloadjeremdow.us-a654e3bf3424b2c70b83480b7b8692fad3167aea.tar.gz
reformat blagh index header dates
Diffstat (limited to 'apps/blagh/app.rc')
-rw-r--r--apps/blagh/app.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc
index 6ccff7d..e6d035e 100644
--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -77,7 +77,7 @@ fn blagh_body {
{ # XXX Not sure why this fixes issues with blog setup, probably bug in fltr_cache!
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
+ sed '1s!.*![&]('^$l(2)^') <span class="date">'^$l(1)^'</span>!' < $p/index.md | sed 's/^=.*/---------------------/'
echo # Needed extra \n so markdown doesn't mess up the formatting, probably can be done in sed.
}
# XXX BUG! Markdown [references] break because multiple markdown documents are merged. Should format each blog post independently.