Browse Source

hopefully showing images in replies

master
jk 4 years ago
parent
commit
7af678e4de
  1. 2
      themes/nipponalba/layouts/partials/webmention.html

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

@ -17,7 +17,7 @@
<p>{{ .content.text | safeHTML }}</p> <p>{{ .content.text | safeHTML }}</p>
{{ end }} {{ end }}
{{ if .photo }}{{ range .photo }} {{ if .photo }}{{ range .photo }}
{{< figure src="{{ . }}" width="500px" >}}
<img src="{{ . }}" width="500px"/>
{{ end }}{{ end }} {{ 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 }}