Permalink
Browse files

docs: Order by Lastmod

  • Loading branch information...
bep committed Apr 22, 2016
1 parent 10af906 commit eb627ca16de6fb5e8646279edd295a8bf0f72bf1
Showing with 9 additions and 0 deletions.
  1. +9 −0 docs/content/templates/list.md
@@ -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

0 comments on commit eb627ca

Please sign in to comment.