From 1b8918c74b99c17c296954073c0c2072b3f21cdd Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Fri, 13 Dec 2019 08:34:05 +0100 Subject: [PATCH] Replace slashes in mentions md5, sort mentions --- layouts/partials/mentions.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/mentions.html b/layouts/partials/mentions.html index f265233..1f58525 100644 --- a/layouts/partials/mentions.html +++ b/layouts/partials/mentions.html @@ -1,5 +1,5 @@ {{ if .Param "indieweb.enabled" }} -{{ $md5pl := md5 .Permalink }} +{{ $md5pl := md5 (replace .Permalink "/" "") }} {{ $mentions := index .Site.Data.mentions $md5pl }} {{ $dateFormat := ( .Site.Params.dateformat | default "January 02, 2006") }} {{ with $mentions }} @@ -7,7 +7,7 @@
{{ T "interactions" }}