update
This commit is contained in:
@@ -145,8 +145,6 @@ func (i *Info) serveSingleFile(w http.ResponseWriter, r *http.Request, c *config
|
||||
}
|
||||
|
||||
page.Info.Data = editor
|
||||
|
||||
// TODO: if serve Single File finds an error while parsing, show the raw content to edit instead of giving 500
|
||||
return page.PrintAsHTML(w, "frontmatter", "editor")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user