Browse Source

updating webmention display

master
jk 4 years ago
parent
commit
905230ff6d
  1. 4
      themes/nipponalba/layouts/partials/webmention.html

4
themes/nipponalba/layouts/partials/webmention.html

@ -2,7 +2,7 @@
<br/>
{{ if eq (index . "wm-property") "mention" }}
<section class="mention interaction"><span class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></span><section class="intcontent"><span class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></span>
{{ if .context.html }}
{{ if .content.html }}
{{ .content.html | safeHTML }}
{{ else }}
<p>{{ .content.text | safeHTML }}</p>
@ -11,7 +11,7 @@
{{ end }}
{{ if eq (index . "wm-property") "in-reply-to" }}
<section class="reply interaction"><span class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></span><section class="intcontent"><span class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a><br/></span>
{{ if .context.html }}
{{ if .content.html }}
{{ .content.html | safeHTML }}
{{ else }}
<p>{{ .content.text | safeHTML }}</p>