docs: Order by Lastmod

This commit is contained in:
Bjørn Erik Pedersen 2016-04-22 20:46:04 +02:00
parent 10af906371
commit eb627ca16d

View file

@ -187,6 +187,15 @@ your list templates:
<div class="meta">{{ .PublishDate.Format "Mon, Jan 2, 2006" }}</div>
</li>
{{ end }}
### Order by Lastmod
{{ range .Data.Pages.ByLastmod }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
</li>
{{ end }}
### Order by Length