From 875d16625ee3cf0b27aa33f9c8296ffb53c4667e Mon Sep 17 00:00:00 2001 From: Uriel Date: Thu, 28 Aug 2008 23:33:53 +0200 Subject: [PATCH] Minnor fix to filter out blog posts items that don't begin with a date (maybe this will break some 'legacy' posts?) --- bin/controller.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/controller.rc b/bin/controller.rc index 3da2089..b82442a 100755 --- a/bin/controller.rc +++ b/bin/controller.rc @@ -98,7 +98,7 @@ fn gensidebar { fn sortedBlogPostList { # the /./ is added so we can sort -t. and order only the file name if (! ~ $#* 0) - ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1 + ls $*^'/./' | grep '/[0-9]+.*\.md$'| sort -r -t. +1 } fn blogTitle {