parent
b30a765a0b
commit
bf045f7fba
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# sets the 'active' class on an item if the url matches the directory
|
||||
if [ "$(dirname "$ZS_URL")" = $1 ]; then printf ' class=active' ''; fi
|
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# sets the 'aria-current=page' on an anchor if the url matches the directory
|
||||
if [ "$(dirname "$ZS_URL")" = $1 ]; then printf ' aria-current=%s' 'page'; fi
|
Loading…
Reference in new issue