commit 2158465bbcbebb7583ae90a6d76050d306690004
parent 8f1f43460e5bd1c92fbb5157c5e2a53f8814c415
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 5 Jan 2020 17:33:46 -0600
Update format of single.html and directly call Hyperskip
Diffstat:
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -1,7 +1,3 @@
-{{ define "main" }}
-<article>
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ partial "comment.html" . }}
-</article>
+{{ define "extras" }}
+{{ partial "hyperskip.html" . }}
{{ end }}
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html
@@ -1 +0,0 @@
-{{ partial "hyperskip.html" . }}