jk.nipponalba.scot website https://jk.nipponalba.scot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

16 lines
1.2 KiB

  1. {{ range sort . "published" "asc" }}
  2. <br/>
  3. {{if not (eq .wmproperty nil)}}{{ if eq .wmproperty "mention" }}
  4. <div class="mention interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></div><div class="intcontent"><div class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></div>
  5. <p>{{ .content.text | safeHTML }}</p>
  6. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></div></div>
  7. {{ end }}
  8. {{ if eq .wmproperty "in-reply-to" }}
  9. <div class="reply interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></div><div class="intcontent"><div class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a><br/></div>
  10. <p>{{ .content.text | safeHTML }}</p>
  11. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></div></div>
  12. {{ end }}
  13. {{ if eq .wmproperty "bookmark" }}
  14. <div class="bookmark interaction"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> bookmarked this post</div>
  15. {{ end }}{{end}}
  16. {{ end }}