Browse Source

hopefully showing images in replies

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

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

@ -16,9 +16,9 @@
{{ else }} {{ else }}
<p>{{ .content.text | safeHTML }}</p> <p>{{ .content.text | safeHTML }}</p>
{{ end }} {{ end }}
{{ if .photo }}
<img src="{{ .photo }}"/>
{{ end }}
{{ if .photo }}{{ range .photo }}
<img src="{{ . }}"/>
{{ end }}{{ end }}
<time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section> <time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section>
{{ end }} {{ end }}
{{ if eq (index . "wm-property") "bookmark" }} {{ if eq (index . "wm-property") "bookmark" }}