Skip to content

Commit

Permalink
docs: Order by Lastmod
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Apr 22, 2016
1 parent 10af906 commit eb627ca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/content/templates/list.md
Expand Up @@ -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

Expand Down

0 comments on commit eb627ca

Please sign in to comment.