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.

27 lines
1.6 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. {{ range sort . "published" "asc" }}
  2. <br/>
  3. {{ if eq (index . "wm-property") "mention" }}
  4. <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>
  5. {{ if .content.html }}
  6. <p>{{ .content.html | safeHTML }}</p>
  7. {{ else }}
  8. <p>{{ .content.text | safeHTML }}</p>
  9. {{ end }}
  10. <time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section>
  11. {{ end }}
  12. {{ if eq (index . "wm-property") "in-reply-to" }}
  13. <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>
  14. {{ if .content.html }}
  15. <p>{{ .content.html | safeHTML }}</p>
  16. {{ else }}
  17. <p>{{ .content.text | safeHTML }}</p>
  18. {{ end }}
  19. {{ if .photo }}{{ range .photo }}
  20. <img class="reply-img" src="{{ . }}"/><br/>
  21. {{ end }}{{ end }}
  22. <time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section>
  23. {{ end }}
  24. {{ if eq (index . "wm-property") "bookmark" }}
  25. <section 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</section>
  26. {{ end }}
  27. {{ end }}