From: Bjørn Erik Pedersen Date: Fri, 22 Apr 2016 18:46:04 +0000 (+0200) Subject: docs: Order by Lastmod X-Git-Tag: v0.16~45 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eb627ca1;p=brevno-suite%2Fhugo docs: Order by Lastmod --- diff --git a/docs/content/templates/list.md b/docs/content/templates/list.md index 6768be4c..3ce293da 100644 --- a/docs/content/templates/list.md +++ b/docs/content/templates/list.md @@ -187,6 +187,15 @@ your list templates:
{{ .PublishDate.Format "Mon, Jan 2, 2006" }}
{{ end }} + +### Order by Lastmod + + {{ range .Data.Pages.ByLastmod }} +
  • + {{ .Title }} +
    {{ .Date.Format "Mon, Jan 2, 2006" }}
    +
  • + {{ end }} ### Order by Length