Talks, publications: order by date desc
This commit is contained in:
parent
ad3f1a00b2
commit
f4ad39743c
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<ul class="publications">
|
<ul class="publications">
|
||||||
{{ $authors := .Page.Params.authors }}
|
{{ $authors := .Page.Params.authors }}
|
||||||
{{ range .Page.Params.publications }}
|
{{ range sort .Page.Params.publications "date" "desc" }}
|
||||||
<li>
|
<li>
|
||||||
<span class="authors">
|
<span class="authors">
|
||||||
{{ range .authors }}
|
{{ range .authors }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ul class="talks">
|
<ul class="talks">
|
||||||
{{ range .Page.Params.talks }}
|
{{ range sort .Page.Params.talks "date" "desc" }}
|
||||||
<li>
|
<li>
|
||||||
<span class="date">{{ dateFormat "Jan 2, 2006" .date }}</span>:
|
<span class="date">{{ dateFormat "Jan 2, 2006" .date }}</span>:
|
||||||
<span class="title">{{ .title }}</span> at
|
<span class="title">{{ .title }}</span> at
|
||||||
|
|
Loading…
Reference in a new issue