From eb627ca16de6fb5e8646279edd295a8bf0f72bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 22 Apr 2016 20:46:04 +0200 Subject: [PATCH] docs: Order by Lastmod --- docs/content/templates/list.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/content/templates/list.md b/docs/content/templates/list.md index 6768be4c5..3ce293dac 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