Comment out blog post reverse chronological ordering which wasn't working consistently and was creating other problems

This commit is contained in:
Uriel 2008-07-09 07:23:46 +02:00
parent 9723047b26
commit f69578a99c

View file

@ -38,9 +38,10 @@ fn hide_paths {
fn menu { fn menu {
lsArgs = ('-F') lsArgs = ('-F')
# XXX will not work properly for $#blogDirs > 1 and matching is hackish # XXX will not work properly for $#blogDirs > 1 and matching is hackish
if ( ! ~ $#inBlog 0 || { ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ } ) { # Work in progress XXX # XXX Work in progress, doesn't work well enough to be usable: too inconsistent, doesn't handle corner cases well at all
lsArgs = ($lsArgs -r) #if ( ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ ) {
} # lsArgs = ($lsArgs -r)
#}
ls $lsArgs $1 | sed $dirfilter | awk -F/ ' ls $lsArgs $1 | sed $dirfilter | awk -F/ '
BEGIN { print "<ul class=\"sidebar\">" } BEGIN { print "<ul class=\"sidebar\">" }
END { print "</ul>" } END { print "</ul>" }