jk
5 years ago
6 changed files with 107 additions and 17 deletions
-
15themes/nipponalba/layouts/_default/single.html
-
5themes/nipponalba/layouts/partials/likes.html
-
5themes/nipponalba/layouts/partials/shares.html
-
3themes/nipponalba/layouts/partials/syndication.html
-
19themes/nipponalba/layouts/partials/webmention.html
-
77themes/nipponalba/static/css/style.css
@ -0,0 +1,5 @@ |
|||
{{ range . }} |
|||
{{ if eq .mention_type "like" }} |
|||
<a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo_url }}" title="{{ .author.name }}" alt="{{ .author.name }}" /></a> |
|||
{{ end }} |
|||
{{ end }} |
@ -0,0 +1,5 @@ |
|||
{{ range . }} |
|||
{{ if eq .mention_type "repost" }} |
|||
<a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo_url }}" title="{{ .author.name }}" alt="{{ .author.name }}" /></a> |
|||
{{ end }} |
|||
{{ end }} |
@ -0,0 +1,3 @@ |
|||
{{ range . }} |
|||
Syndicated to <a href="{{ .url }}">Pleroma</a> |
|||
{{ end }} |
@ -1,20 +1,19 @@ |
|||
{{ range . }} |
|||
<br/> |
|||
{{ if eq .mention_type "mention" }} |
|||
<div class="mention"><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></div> |
|||
{{ end }} |
|||
{{ if eq .mention_type "like" }} |
|||
<div class="like"><a href="{{ .author.url }}">{{ .author.name }}</a> <a href="{{ .url }}">liked</a></div> |
|||
<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> |
|||
<div class="intcontent">{{ .content | safeHTML }}</div><br/> |
|||
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div> |
|||
{{ end }} |
|||
{{ if eq .mention_type "reply" }} |
|||
<div class="reply"><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a></div> |
|||
<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> |
|||
<div class="intcontent">{{ .content | safeHTML }}</div><br/> |
|||
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .date ) }}</time></div> |
|||
{{ end }} |
|||
{{ if eq .mention_type "bookmark" }} |
|||
<div class="bookmark"><a href="{{ .author.url }}">{{ .author.name }}</a> bookmarked this post</div> |
|||
{{ end }} |
|||
{{ if eq .mention_type "repost" }} |
|||
<div class="repost"><a href="{{ .author.url }}">{{ .author.name }}</a> <a href="{{ .url }}">reposted</a> this article</div> |
|||
<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"><a href="{{ .author.url }}">{{ .author.name }}</a> responded to the rsvp <a href="{{ .url }}">here</a></div> |
|||
<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 }} |
Reference in new issue