swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit c1306c24d4d415f8141f8a3f20a10f78c48fbc53
parent ec752f625638956d9a6daffaac6b07e2785f2596
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Thu, 28 Aug 2008 23:33:53 +0200

Minnor fix to filter out blog posts items that don't begin with a date (maybe this will break some 'legacy' posts?)
Diffstat:
Mbin/controller.rc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 {