From 121127ec6955dcaf4676eb7d224b5b3de5fb9815 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 6 Feb 2016 17:28:10 +0000 Subject: [PATCH] update template --- templates/editor.tmpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/editor.tmpl b/templates/editor.tmpl index 6eb47ef1..b71a9897 100644 --- a/templates/editor.tmpl +++ b/templates/editor.tmpl @@ -1,24 +1,28 @@ {{ define "content" }}
+ {{ if eq .Class "complete" }} +

+ {{ end }}
{{ if not (eq .Class "complete") }} -

{{ .Name }}

+

{{ .Name }}

{{ end }} {{ if eq .Class "frontmatter-only" }}
{{ template "frontmatter" .FrontMatter }} -
+

+ +

+
{{ else if eq .Class "content-only" }}
{{ else }}
-

-
{{ template "frontmatter" .FrontMatter }}