From 2e6defcf6822de7fd5f49d3cd3a0ec342517c01b Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 23 Jun 2020 20:45:21 +0100 Subject: [PATCH] updating webmention display --- themes/nipponalba/layouts/partials/webmention.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/themes/nipponalba/layouts/partials/webmention.html b/themes/nipponalba/layouts/partials/webmention.html index 1988ff18..92eba737 100644 --- a/themes/nipponalba/layouts/partials/webmention.html +++ b/themes/nipponalba/layouts/partials/webmention.html @@ -2,12 +2,20 @@
{{ if eq (index . "wm-property") "mention" }}
{{ .author.name }} mentioned this post in the post {{ .title }} +{{ if isset .context.html }} +{{ .content.html | safeHTML }} +{{ else }}

{{ .content.text | safeHTML }}

+{{ end }}
{{ end }} {{ if eq (index . "wm-property") "in-reply-to" }}
{{ .author.name }} replied to this post here
-

{{ .content.text | safeHTML }}

+ {{ if isset .context.html }} + {{ .content.html | safeHTML }} + {{ else }} +

{{ .content.text | safeHTML }}

+ {{ end }}
{{ end }} {{ if eq (index . "wm-property") "bookmark" }}