bin/{corehandlers.rc, werc.rc, werclib.rc}: handle .gmi and .gem
This commit is contained in:
parent
bc939071cf
commit
51e19b2266
2 changed files with 9 additions and 1 deletions
|
|
@ -12,7 +12,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_chars'/d; /\/sitemap\.xml$/d; /\/index\.(md|html|txt|tpl)$/d; /\/(robots|sitemap)\.txt$/d; /_werc\/?$/d; '
|
||||
dirclean=' s/\.(md|html|txt)$//; '
|
||||
dirclean=' s/\.(gmi|gem|md|html|txt)$//; '
|
||||
|
||||
# Careful, the proper p9p path might not be set until initrc.local is sourced
|
||||
path=(. /bin ./bin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue