commit fdd584e493a21b6c28285e5e4f54b613306d8328
parent 83183cd4ccf0aa5a0f73a27a6b3879d4497d4465
Author: uriel@suckless.org <unknown>
Date: Fri, 29 Aug 2008 01:05:05 +0200
Fix blog title links
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/controller.rc b/bin/controller.rc
@@ -105,7 +105,7 @@ fn blogTitle {
title=`{basename $1 | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
permlink= `{echo $1 | sed 's,^/[a-z/]*www/,/,; s,^sites/[^/]*/*/,/,; s/\.md$//' }
du=`{ls -l $1}
- echo '##<a href="' $"permlink '">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
+ echo '##<a href="'^$"permlink^'">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
}