hugo-hyperskip

Email-powered static comments for Hugo

git clone git://git.shimmy1996.com/hugo-hyperskip.git
commit ab88882ffc4699909e437cd9c39e8c8cc7242562
parent 9f3ca2e0ace4e64caea30aff41aaa10808e7e9ff
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat,  4 Jan 2020 19:39:02 -0600

Change field name

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
@@ -1,5 +1,5 @@
 {{ with .Site.Data.comments.comments }}
-{{ range sort (where . "rel_permalink" $.Page.RelPermalink) "time" }}
+{{ range sort (where . "uri" $.Page.RelPermalink) "time" }}
 {{ $hash := (print .name .time) | md5 | last 7 }}
 <hr/>
 <div id="{{ $hash }}">