|
|
@ -3,20 +3,20 @@ |
|
|
|
{{ if eq (index . "wm-property") "mention" }} |
|
|
|
<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> |
|
|
|
{{ if .content.html }} |
|
|
|
{{ .content.html | safeHTML }} |
|
|
|
<p>{{ .content.html | safeHTML }}</p> |
|
|
|
{{ else }} |
|
|
|
<p>{{ .content.text | safeHTML }}</p> |
|
|
|
{{ end }} |
|
|
|
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section> |
|
|
|
<time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section> |
|
|
|
{{ end }} |
|
|
|
{{ if eq (index . "wm-property") "in-reply-to" }} |
|
|
|
<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> |
|
|
|
{{ if .content.html }} |
|
|
|
{{ .content.html | safeHTML }} |
|
|
|
<p>{{ .content.html | safeHTML }}</p> |
|
|
|
{{ else }} |
|
|
|
<p>{{ .content.text | safeHTML }}</p> |
|
|
|
{{ end }} |
|
|
|
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section> |
|
|
|
<time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section> |
|
|
|
{{ end }} |
|
|
|
{{ if eq (index . "wm-property") "bookmark" }} |
|
|
|
<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> |
|
|
|