fix menu listing
This commit is contained in:
parent
18dc16e94a
commit
3fefb0dcf6
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -133,7 +133,7 @@ func (werc *Werc) genmenu(site, dir string) []MenuEntry {
|
|||
var dirs []string
|
||||
var root []MenuEntry
|
||||
|
||||
base := werc.root + "/sites/" + site
|
||||
base := "sites/" + site
|
||||
|
||||
spl := strings.Split(strings.TrimPrefix(filepath.Clean(dir), "/"), string(filepath.Separator))
|
||||
|
||||
|
|
Loading…
Reference in a new issue