hugo-hyperskip

Email-powered static comments for Hugo

git clone git://git.shimmy1996.com/hugo-hyperskip.git
commit 4bd441d4d66dd8c86bb6e290b73cfcf65673fb43
parent 7399c83e96a08300ad9a97c3f1d93a4551e8ed40
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Tue,  7 Jan 2020 20:42:19 -0600

Use <p> tags instead of forcing line breaks

Diffstat:
Mlayouts/partials/comment_form.html | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/layouts/partials/comment_form.html b/layouts/partials/comment_form.html
@@ -1,17 +1,17 @@
 <form action="mailto:{{ $.Site.Author.email }}?subject=RE:{{ $.Page.RelPermalink }}"
       method="post"
       name="comment_form">
-  <label for="name">{{ i18n "hyperskip-name" }}</label><br/>
-  <input type="text" id="name" name="name" maxlength="20"
-         placeholder="{{ i18n "hyperskip-name-default" }}"/><br/>
-  <label for="comment">{{ i18n "hyperskip-comment" }}</label><br/>
-  <textarea required
-            id="comment"
-            name="comment"
-            rows="8"
-            minlength="3"
-            placeholder="{{ i18n "hyperskip-requirement"}}"></textarea><br/>
-  <input type="submit" value="{{ i18n "hyperskip-submit"}}">
+  <p><label for="name">{{ i18n "hyperskip-name" }}</label><br/>
+    <input type="text" id="name" name="name" maxlength="20"
+           placeholder="{{ i18n "hyperskip-name-default" }}"/></p>
+  <p><label for="comment">{{ i18n "hyperskip-comment" }}</label><br/>
+    <textarea required
+              id="comment"
+              name="comment"
+              rows="8"
+              minlength="3"
+              placeholder="{{ i18n "hyperskip-requirement"}}"></textarea></p>
+  <p><input type="submit" value="{{ i18n "hyperskip-submit"}}"></p>
 </form>
 <script>
   function reply(hash) {