When more than one file with the same 'name' (eg., foo.md, foo.html) do not dis… | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit c19d3e4bbdc52dcff4a5d323bc0907d29f840fe8 | |
parent 088f296c9b04e9b91a75316d1333b426cd77b6af | |
Author: Uriel <[email protected]> | |
Date: Tue, 28 Jun 2011 03:48:22 +0000 | |
When more than one file with the same 'name' (eg., foo.md, foo.html) do not dis… | |
Diffstat: | |
M bin/corehandlers.rc | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/bin/corehandlers.rc b/bin/corehandlers.rc | |
@@ -77,7 +77,7 @@ fn dir_listing_handler { | |
d='/' | |
echo $d|sed 's,.*//,,g; s,/$,,; s,/, / ,g; s/[\-_]/ /g; s,.*,<h1 class="di… | |
# Symlinks suck: '/.' forces ls to list the linked dir if $d is a symlink. | |
- ls -F $dir_listing_ls_opts $sitedir$d/. | sed $dirfilter$dirclean | awk '{… | |
+ ls -F $dir_listing_ls_opts $sitedir$d/. | sed $dirfilter$dirclean | awk '{… | |
echo '</ul>' | |
} | |