hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 372bb8258bc6c9308aaf08fe0dbefce4b3c50a03
parent 1852148552d2acd49bf4f54007250bb919c8a08a
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Tue, 26 Jun 2018 18:23:49 -0500

Exclude comments from <main>.

Diffstat:
Mlayouts/_default/single.html | 1-
Mlayouts/partials/footer.html | 1+
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -18,5 +18,4 @@
   {{ .Content }}
 </article>
 
-{{ partial "comment.html" . }}
 {{ partial "footer.html" . }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
@@ -1,4 +1,5 @@
     </main>
+    {{ partial "comment.html" . }}
     <hr/>
     <footer>
       {{ with .Site.Copyright }} {{ . | markdownify }} {{ end }}