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

  1. {{ range . }}
  2. <br/>
  3. {{ if eq .mention_type "mention" }}
  4. <div class="mention interaction"><div class="intactivity"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo_url }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></div>
  5. <div class="intcontent">{{ .content | safeHTML }}</div><br/>
  6. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div>
  7. {{ end }}
  8. {{ if eq .mention_type "reply" }}
  9. <div class="reply interaction"><div class="intactivity"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo_url }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a><br/></div>
  10. <div class="intcontent">{{ .content | safeHTML }}</div><br/>
  11. <time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></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 }}