diff options
author | xengineering <me@xengineering.eu> | 2023-02-09 22:00:32 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-09 22:00:32 +0100 |
commit | f2b0733eefc56dcee210ecd1fbe6a9d5d159d6f0 (patch) | |
tree | 8b5544f7a8c303887fc1e6745e63de0e0465a4bf /handler.go | |
parent | 5c41fda52bfe6c0ab898a284ed9373f12a04c92b (diff) | |
download | ceres-f2b0733eefc56dcee210ecd1fbe6a9d5d159d6f0.tar ceres-f2b0733eefc56dcee210ecd1fbe6a9d5d159d6f0.tar.zst ceres-f2b0733eefc56dcee210ecd1fbe6a9d5d159d6f0.zip |
Remove commented code
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]) |