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.

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