hugo-hyperskip

Email-powered static comments for Hugo

git clone git://git.shimmy1996.com/hugo-hyperskip.git
commit 7fd36f39a9fdab8a61d9b91dcb53bf028d2b94e7
parent bbac9098a85fbd75bf8bc3720872700977bea5cd
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Jan 2020 10:35:05 -0600

Use a section instead of div and let users handle spacing

Diffstat:
Mlayouts/partials/hyperskip.html | 14++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/layouts/partials/hyperskip.html b/layouts/partials/hyperskip.html
@@ -1,8 +1,6 @@
-<hr/>
-<div id="comments">
-<h1>{{ i18n "hyperskip-header" }}</h1>
-{{ partial "comment_form.html" . }}
-<br/>
-{{ partial "list_comment.html" . }}
-</div>
-<hr/><br/>
+<section id="comments">
+  <h2>{{ i18n "hyperskip-header" }}</h2>
+  {{ partial "comment_form.html" . }}
+  <br/>
+  {{ partial "list_comment.html" . }}
+</section>