Add sitemap.xml to dirfilter so it doesn't show up in dir listings when no inde… | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit a2b3773b283cdd42c0a3a1f601b069dc5db7f3cc | |
parent b7adf4581fb4edbe44163f68c7c25d19a59653a2 | |
Author: Uriel <[email protected]> | |
Date: Sun, 25 Apr 2010 11:58:40 +0000 | |
Add sitemap.xml to dirfilter so it doesn't show up in dir listings when no inde… | |
Diffstat: | |
M bin/werc.rc | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/bin/werc.rc b/bin/werc.rc | |
@@ -11,7 +11,7 @@ difs=$ifs # Used to restore default ifs when needed | |
# Expected input: ls -F style, $sitedir/path/to/files/ | |
# <ls -F+x><symlink hack><Useless?><hiden files > | |
-dirfilter='s/\*$//; s,/+\./+,/,g; s,^\./,,; /\/[._][^\/]/d; /'$forbidden_uri_c… | |
+dirfilter='s/\*$//; s,/+\./+,/,g; s,^\./,,; /\/[._][^\/]/d; /'$forbidden_uri_c… | |
dirclean=' s/\.(md|html|txt)$//; ' | |
# Careful, the proper p9p path might not be set until initrc.local is sourced |