summaryrefslogtreecommitdiff
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
parent420b63896e1545a1cf7611592fd0cde1b75a9a10 (diff)
downloadjeremdow.us-a654e3bf3424b2c70b83480b7b8692fad3167aea.tar.gz
reformat blagh index header dates
-rw-r--r--apps/blagh/app.rc2
-rw-r--r--sites/rc.jeremdow.com/_werc/pub/style.css6
2 files changed, 7 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.
diff --git a/sites/rc.jeremdow.com/_werc/pub/style.css b/sites/rc.jeremdow.com/_werc/pub/style.css
index ef763e9..bdb422c 100644
--- a/sites/rc.jeremdow.com/_werc/pub/style.css
+++ b/sites/rc.jeremdow.com/_werc/pub/style.css
@@ -341,3 +341,9 @@ ul.dir-list li {
ul.sitemap-list a {
text-transform: none;
}
+
+/* # Blagh specific (custom) # */
+span.date {
+ float: right;
+ font-size: small;
+}