fix menu listing

This commit is contained in:
mischief 2015-07-18 21:36:16 -07:00
parent 18dc16e94a
commit 3fefb0dcf6

View file

@ -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))