Use correct css class for sidebar items
This commit is contained in:
parent
59e6c75cb5
commit
ebe450ec29
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ fn menu {
|
||||||
# lsArgs = ($lsArgs -r)
|
# 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=\"side-bar\">" }
|
||||||
END { print "</ul>" }
|
END { print "</ul>" }
|
||||||
# Should add \. to the list of allowed chars in file names, but need to find a way to filter out .txt and so on
|
# Should add \. to the list of allowed chars in file names, but need to find a way to filter out .txt and so on
|
||||||
/^([a-zA-Z0-9+_\-]+[\/*]?)+$/ && $NF != "index" {
|
/^([a-zA-Z0-9+_\-]+[\/*]?)+$/ && $NF != "index" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue