. "$_EXEC/acl.sh"
. "$_EXEC/tools.sh"
-from='1'; to='$'; rev=''; items='$'; hl=0; link='true'; depth=0; tags=''; page='';
+from='1'; to='$'; rev=''; items='$'; hl=0; link='true'; depth=0; tags=''; ntags=''; page='';
set -- "$@" --
while [ $# -gt 0 ]; do case $1 in
--hl|-hl) hl=$2; shift 2;;
--depth) depth=$2; shift 2;;
\#*) tags="${tags}${tags:+ }${1}"; shift 1;;
+ \!*) ntags="${ntags}${ntags:+ }${1}"; shift 1;;
--) shift 1; break;;
*) set -- "$@" "$1"; shift 1;;
esac; done
mdfile="$(mdfile "$page")" || continue
acl_read "$page" || continue
has_tags "$page" $tags || continue
+ has_tag "$page" $ntags && continue
printf %s\\n "$INCLUDE_LIST" |grep -qxF "$page" && continue
export INCLUDE_LIST="${INCLUDE_LIST}${INCLUDE_LIST:+${BR}}$page"
hglob="$(HTML "$glob")"