hugo-hyperskip

Email-powered static comments for Hugo

git clone git://git.shimmy1996.com/hugo-hyperskip.git
commit e92c272570a7844fb91532bf8df12c3efeee3bf1
parent 73b77281f235b52c0f31cc67bcee03945802f445
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat,  4 Jan 2020 21:45:41 -0600

Use proper time tag

Diffstat:
Mlayouts/partials/list_comment.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/list_comment.html b/layouts/partials/list_comment.html
@@ -12,7 +12,7 @@
     </a>&nbsp;&#93;
   </span>
   <br/>
-  {{ $timestamp }}
+  <time datetime={{ $timestamp }}>{{ $timestamp }}</time>
   <div style="margin-top:1em;">{{ .content | htmlEscape | markdownify }}</div>
 </div>
 {{ end }}