Browse Source

trying to sort by date

master
jk 5 years ago
parent
commit
848a088975
  1. 2
      themes/nipponalba/layouts/partials/webmention.html

2
themes/nipponalba/layouts/partials/webmention.html

@ -1,4 +1,4 @@
{{ range . }}
{{ range sort . "date" "asc" }}
<br/> <br/>
{{ if eq .mention_type "mention" }} {{ if eq .mention_type "mention" }}
<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="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>