Make it easy to hide certain directories or files from _config
This commit is contained in:
parent
0dba064c8e
commit
9c749537ed
1 changed files with 7 additions and 1 deletions
|
|
@ -26,7 +26,13 @@ fn gentitle {
|
|||
}
|
||||
|
||||
# Don't change var name or trailing ';', some dirs change the filter!
|
||||
dirfilter = '/\/[._]/d; s,^\./,,; s,\.md$,,; s,\.html,,;'
|
||||
dirfilter = '/\/[._]/d; s,^\./,,; s,\.md$,,; s,\.html,,; '
|
||||
|
||||
fn hide_paths {
|
||||
for(i in $*) {
|
||||
dirfilter = $dirfilter^'/^'$i'$/d; '
|
||||
}
|
||||
}
|
||||
|
||||
# Sidebar
|
||||
fn menu {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue