From fcf897a797de412f0b90b4b99326dfcc394fb93b Mon Sep 17 00:00:00 2001 From: "Kevin C. Coram" Date: Wed, 1 Jan 2020 14:15:16 -0500 Subject: [PATCH] Add support for 'mention-of' type webmentions --- layouts/partials/webmentions.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index a8b0837..ced5476 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -5,6 +5,7 @@ {{ $likes := index (index .Site.Data.webmentions $urlized) "like-of" }} {{ $replys := index (index .Site.Data.webmentions $urlized) "in-reply-to" }} {{ $reposts := index (index .Site.Data.webmentions $urlized) "repost-of"}} + {{ $mentions := index (index .Site.Data.webmentions $urlized) "mention-of"}} {{ if $likes }}

Likes

{{ range $i, $like := $likes }} @@ -20,6 +21,15 @@ {{ end }} {{ end }} + {{ if $mentions }} +

Mentions

+ + {{ end }} + {{ if $replys }}

Comments and Replies

{{ range $i, $reply := $replys }}