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.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 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. <p>{{ .content.text | safeHTML }}</p>
  6. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section>
  7. {{ end }}
  8. {{ if eq (index . "wm-property") "in-reply-to" }}
  9. <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>
  10. <p>{{ .content.text | safeHTML }}</p>
  11. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section>
  12. {{ end }}
  13. {{ if eq (index . "wm-property") "bookmark" }}
  14. <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>
  15. {{ end }}
  16. {{ end }}