highlight current path in tree
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user