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.

19 lines
1.5 KiB

5 years ago
5 years ago
  1. {{ range sort . "date" "asc" }}
  2. <br/>
  3. {{ if eq .mention_type "mention" }}
  4. <div class="mention interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo_url }}" /></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. {{ .content | safeHTML }}<br/>
  6. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div></div>
  7. {{ end }}
  8. {{ if eq .mention_type "reply" }}
  9. <div class="reply interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo_url }}" /></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. {{ .content | safeHTML }}<br/>
  11. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div></div>
  12. {{ end }}
  13. {{ if eq .mention_type "bookmark" }}
  14. <div class="bookmark interaction"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo_url }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> bookmarked this post</div>
  15. {{ end }}
  16. {{ if eq .mention_type "rsvp" }}
  17. <div class="rsvp interaction"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo_url }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> responded to the rsvp <a href="{{ .url }}">here</a></div>
  18. {{ end }}
  19. {{ end }}