From 249c9a17f58cd4d58a92a158a01508347bedfc8e Mon Sep 17 00:00:00 2001 From: Tobias Weingartner Date: Sat, 30 Apr 2016 14:07:42 -0700 Subject: [PATCH] Make default template more readable/clean. --- middleware/markdown/template.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/middleware/markdown/template.go b/middleware/markdown/template.go index 18d486a1..f9f1f661 100644 --- a/middleware/markdown/template.go +++ b/middleware/markdown/template.go @@ -82,9 +82,13 @@ const ( {{.Doc.title}} - {{range .Styles}} - {{end}}{{range .Scripts}} - {{end}} + + {{- range .Styles}} + + {{- end}} + {{- range .Scripts}} + + {{- end}} {{.Doc.body}}