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

{{ range sort . "date" "asc" }}
<br/>
{{ if eq .mention_type "mention" }}
<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>
{{ .content | safeHTML }}<br/>
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div></div>
{{ end }}
{{ if eq .mention_type "reply" }}
<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>
{{ .content | safeHTML }}<br/>
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div></div>
{{ end }}
{{ if eq .mention_type "bookmark" }}
<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>
{{ end }}
{{ if eq .mention_type "rsvp" }}
<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>
{{ end }}
{{ end }}