docs: Document lastmod variable Fixes #1351 - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit e35a69216e7212890febdd201c1929f1a01b5916
DIR parent 50506ebeac7af1da739385fa77767bc004b8ddbd
HTML Author: Robert Basic <robertbasic.com@gmail.com>
Date: Mon, 28 Mar 2016 13:44:02 +0200
docs: Document lastmod variable
Fixes #1351
Diffstat:
M docs/content/templates/variables.md | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/docs/content/templates/variables.md b/docs/content/templates/variables.md
@@ -33,6 +33,7 @@ matter, content or derived from file location.
**.Description** The description for the content.<br>
**.Keywords** The meta keywords for this content.<br>
**.Date** The date the content is associated with.<br>
+**.Lastmod** The date the content was last modified.<br>
**.PublishDate** The date the content is published on.<br>
**.Type** The content [type](/content/types/) (e.g. post).<br>
**.Section** The [section](/content/sections/) this content belongs to.<br>
@@ -103,6 +104,7 @@ includes taxonomies, lists and the homepage.
**.Title** The title for the content.<br>
**.Date** The date the content is published on.<br>
+**.Lastmod** The date the content was last modified.<br>
**.Permalink** The Permanent link for this node<br>
**.URL** The relative URL for this node.<br>
**.Ref(ref)** Returns the permalink for `ref`. See [cross-references]({{% ref "extras/crossreferences.md" %}}). Does not handle in-page fragments correctly.<br>