blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit f97417b21b32e2503e0c778b4f8772210f84dd96
parent c4c497239e5555b9293b084d098dec68a8428213
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Jan 2020 11:16:51 -0600

Remove header tag

Diffstat:
Mlayouts/_default/single.html | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -1,5 +1,7 @@
 {{ define "main" }}
-<header><h1>{{ .Title }}</h1></header>
-<article>{{ .Content }}</article>
-{{ partial "comment.html" . }}
+<article>
+  <h1>{{ .Title }}</h1>
+  {{ .Content }}
+  {{ partial "comment.html" . }}
+</article>
 {{ end }}