diff options
Diffstat (limited to 'handler.go')
-rw-r--r-- | handler.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -200,11 +200,6 @@ func recipeEditGet(w http.ResponseWriter, r *http.Request, db *Database, templat return } - // render markdown - // var buf bytes.Buffer - // goldmark.Convert([]byte(elements[0].DescriptionMarkdown), &buf) - // elements[0].RenderedDescriptionMarkdown = buf.String() - // render and return template path := filepath.Join(templateRoot, "recipe_edit.html") ServeTemplate(w, "recipe", path, elements[0]) |