You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Page render html takes only the neccessary arguments
Former-commit-id: 430478c3f2c79b66612a694e93519004d0301c43 [formerly 3b8626ea2747caca09046d3b51bf4695dc9262ee] [formerly 6e380fdbb14c16433118e5f721ccf6fd394d820d [formerly 3b3643be05]]
Former-commit-id: 885786dd7846946f1b277ae599678c5154b360cc [formerly 0a588d179d42c51866bf15c879c5c746c5357b69]
Former-commit-id: dd52d340773b8fec2d3bc3f54da15d8a9434c1e0
This commit is contained in:
@@ -125,10 +125,10 @@ func serveSingle(w http.ResponseWriter, r *http.Request, c *FileManager, u *User
|
||||
return http.StatusInternalServerError, err
|
||||
}
|
||||
|
||||
return p.PrintAsHTML(w, c, "frontmatter", "editor")
|
||||
return p.PrintAsHTML(w, c.assets.templates, "frontmatter", "editor")
|
||||
}
|
||||
|
||||
return p.PrintAsHTML(w, c, "single")
|
||||
return p.PrintAsHTML(w, c.assets.templates, "single")
|
||||
}
|
||||
|
||||
func editorClass(mode string) string {
|
||||
|
||||
Reference in New Issue
Block a user