1
0
Fork 0

Clean up likes a bit.

This commit is contained in:
Sebastian Schulze 2020-07-10 02:32:19 +02:00
parent 57315c0b5d
commit 6ce44129d8
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@
{{ if $likes }}
<h3>Reaktionen</h3>
{{ range $like := $likes }}
<a href="{{ $like.post.author.url }}"><img style="width: 30px" src="{{ $like.post.author.photo }}"></a>
{{ range sort $likes "post.published" "asc" }}
<a href="{{ .post.author.url }}"><img style="width: 30px" alt="Avatar von {{ .post.author.name }}" title="Like von {{ .post.author.name }}" src="{{ .post.author.photo }}"></a>
{{ end }}
{{ end }}