hugo-hyperskip

Email-powered static comments for Hugo

git clone git://git.shimmy1996.com/hugo-hyperskip.git
commit 8801062300f727b6ecc049af84a429bc2c93a19f
parent 6d9476c53195fcb8880f556c816885d7be00d883
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Tue,  7 Jan 2020 20:55:25 -0600

Correct closing tag locations

Diffstat:
Mlayouts/partials/list_comment.html | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/layouts/partials/list_comment.html b/layouts/partials/list_comment.html
@@ -16,15 +16,15 @@
       {{- end -}}
     </h3>
     <nav><p>
-      {{- .time.Format "2006-01-02" -}}
-      {{ if not ($.Scratch.Get "is_feed") }}
-      &nbsp;|&nbsp;<a href="#{{ $hash }}">#
-        {{- $hash -}}
-      </a>&nbsp;|&nbsp;<a href="#comment" onclick="reply({{ $hash }})">
-        {{- i18n "hyperskip-reply" -}}
-      </a></p>
-    </nav>
-    {{ end }}
+        {{- .time.Format "2006-01-02" -}}
+        {{- if not ($.Scratch.Get "is_feed") -}}
+        &nbsp;|&nbsp;<a href="#{{ $hash }}">#
+          {{- $hash -}}
+        </a>&nbsp;|&nbsp;<a href="#comment" onclick="reply({{ $hash }})">
+          {{- i18n "hyperskip-reply" -}}
+        </a>
+        {{- end -}}
+    </p></nav>
   </header>
   {{ .content | htmlEscape | markdownify }}
 </article>