|
|
@ -1,16 +1,16 @@ |
|
|
|
{{ range sort . "published" "asc" }} |
|
|
|
<br/> |
|
|
|
{{if not (eq .wmproperty nil)}}{{ if eq .wmproperty "mention" }} |
|
|
|
{{ if eq (index . "wm-property") "mention" }} |
|
|
|
<div class="mention interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></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> |
|
|
|
<p>{{ .content.text | safeHTML }}</p> |
|
|
|
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></div></div> |
|
|
|
{{ end }} |
|
|
|
{{ if eq .wmproperty "in-reply-to" }} |
|
|
|
{{ if eq (index . "wm-property") "in-reply-to" }} |
|
|
|
<div class="reply interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></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> |
|
|
|
<p>{{ .content.text | safeHTML }}</p> |
|
|
|
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></div></div> |
|
|
|
{{ end }} |
|
|
|
{{ if eq .wmproperty "bookmark" }} |
|
|
|
{{ if eq (index . "wm-property") "bookmark" }} |
|
|
|
<div 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</div> |
|
|
|
{{ end }}{{end}} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |