Add 'permalinks' to blog posts.

This commit is contained in:
uriel 2007-06-25 23:14:52 +02:00
parent 9156762a5e
commit 3e7069e2fd

View File

@ -75,7 +75,7 @@ fn sortedBlogPostList {
fn blogTitle {
title=`{basename $1 | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
du=`{ls -l $1}
echo '##' $title '*('By $du(4) Last mod: $du(7 8 9) ')*'
echo '##<a href="' `{echo $1 | sed 's,^sites/[^/]*/*/,/,; s/\.md$//' } '">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
}
# Body