more changes to the website

This commit is contained in:
Blake Ridgway
2026-03-27 20:15:02 -05:00
parent 7e7480ecf9
commit 5bc3050dd4
8 changed files with 22 additions and 9 deletions

View File

@@ -272,10 +272,6 @@ func (h *Handler) adminPreview(w http.ResponseWriter, r *http.Request) {
h.renderErr(w, http.StatusMethodNotAllowed, "POST required.")
return
}
if err := r.ParseForm(); err != nil {
http.Error(w, "bad request", http.StatusBadRequest)
return
}
content := r.FormValue("content")
html, err := blog.RenderMarkdown(content)
if err != nil {