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 }} {{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }} {{ 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 }} {{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }} {{ end }} {{ if eq (index . "wm-property") "bookmark" }}
{{ .content.text | safeHTML }}