Talks, publications: order by date desc

This commit is contained in:
Théophile Bastian 2019-10-21 09:36:26 +03:00
parent ad3f1a00b2
commit f4ad39743c
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<ul class="publications">
{{ $authors := .Page.Params.authors }}
{{ range .Page.Params.publications }}
{{ range sort .Page.Params.publications "date" "desc" }}
<li>
<span class="authors">
{{ range .authors }}

View file

@ -1,5 +1,5 @@
<ul class="talks">
{{ range .Page.Params.talks }}
{{ range sort .Page.Params.talks "date" "desc" }}
<li>
<span class="date">{{ dateFormat "Jan 2, 2006" .date }}</span>:
<span class="title">{{ .title }}</span> at