highlight current path in tree

This commit is contained in:
Bel LaPointe
2022-02-16 08:22:03 -07:00
parent a7c8a0d481
commit e025f3835a
3 changed files with 7 additions and 7 deletions

View File

@@ -275,8 +275,8 @@ func (server *Server) uiFilesHandler(w http.ResponseWriter, r *http.Request) err
"This": map[string]interface{}{
"Title": leaf.Title,
"Content": leaf.Content,
"ID": id,
"PID": id.Pop(),
"ID": id.String(),
"PID": id.Pop().String(),
"PTitle": parent.Title,
},
"Tree": string(branchesJSON),