commit 1662c0745fcbcda013c1c06846fc946c58721640
parent 2e311c5064db74659b91ad1ef490874f1dfbe18c
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 5 Jan 2020 10:58:25 -0600
Remove header tag
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
@@ -17,10 +17,10 @@ What is retained though is support for multilingual page contents. The result is
0 ./layouts/partials/head_custom.html
15 ./layouts/partials/nav.html
7 ./layouts/partials/head.html
- 4 ./layouts/_default/single.html
+ 6 ./layouts/_default/single.html
14 ./layouts/_default/list.html
11 ./layouts/_default/baseof.html
- 92 total
+ 94 total
#+END_EXAMPLE
** Customization
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -1,4 +1,6 @@
{{ define "main" }}
-<header><h1>{{ .Title }}</h1></header>
-<article>{{ .Content }}</article>
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
{{ end }}