From 28585171bd5fe8465d75d2466c12f89a8803afbf Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Wed, 15 Jul 2020 18:55:47 +0500 Subject: [PATCH] Remove sidebar invocation --- render/render.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/render/render.go b/render/render.go index b1a4b60..095dff5 100644 --- a/render/render.go +++ b/render/render.go @@ -22,8 +22,7 @@ func HyphaEdit(h *fs.Hypha) []byte { // return layout("edit/index"). withMap(hyphaData). wrapInBase(map[string]string{ - "Title": fmt.Sprintf(cfg.TitleEditTemplate, h.FullName), - "Sidebar": layout("edit/sidebar").withMap(hyphaData).String(), + "Title": fmt.Sprintf(cfg.TitleEditTemplate, h.FullName), }) }