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.
|
|
{{ range sort . "published" "asc" }} <br/> {{ 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 }} <p>{{ .content.html | safeHTML }}</p> {{ else }} <p>{{ .content.text | safeHTML }}</p> {{ end }} <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 }} <p>{{ .content.html | safeHTML }}</p> {{ else }} <p>{{ .content.text | safeHTML }}</p> {{ end }} {{ if .photo }}{{ range .photo }} <img src="{{ . }}"/> {{ end }}{{ end }} <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> {{ end }} {{ end }}
|