Browse Source

trying to sort by date

master
jk 4 years ago
parent
commit
130bf63cd5
  1. 2
      themes/nipponalba/layouts/partials/webmention.html

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

@ -1,4 +1,4 @@
{{ range . }}
{{ range sort .Params "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>