Update filesystem structure

This commit is contained in:
2023-04-11 23:44:50 +02:00
parent 9b451b37ea
commit 971a0fe539
8 changed files with 58 additions and 48 deletions

View File

@@ -30,7 +30,7 @@ func (wc *WebController) serveDirectory(w http.ResponseWriter, r *http.Request,
return
}
td.Title = fmt.Sprintf("%s ~ pixeldrain", node.Base.Name)
td.Title = fmt.Sprintf("%s ~ pixeldrain", node.Path[node.BaseIndex].Name)
td.Other = node
err = wc.templates.Get().ExecuteTemplate(w, "filesystem", td)
if err != nil && !strings.Contains(err.Error(), "broken pipe") {