Minnor fix to filter out blog posts items that don't begin with a date (maybe this will break some 'legacy' posts?)

This commit is contained in:
Uriel 2008-08-28 23:33:53 +02:00
parent 73b8b18679
commit 875d16625e

View file

@ -98,7 +98,7 @@ fn gensidebar {
fn sortedBlogPostList { fn sortedBlogPostList {
# the /./ is added so we can sort -t. and order only the file name # the /./ is added so we can sort -t. and order only the file name
if (! ~ $#* 0) if (! ~ $#* 0)
ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1 ls $*^'/./' | grep '/[0-9]+.*\.md$'| sort -r -t. +1
} }
fn blogTitle { fn blogTitle {