diff --git a/content/functions/format.md b/content/functions/format.md index b1de89f97..0cffd44cf 100644 --- a/content/functions/format.md +++ b/content/functions/format.md @@ -18,7 +18,7 @@ aliases: [] toc: true --- -`Format` will format date values defined in your front matter. `.Format` and can be used as a property on the following [page variables][pagevars]: +`Format` will format date values defined in your front matter and can be used as a property on the following [page variables][pagevars]: * `.PublishDate` * `.Date` @@ -30,7 +30,7 @@ Assuming a key-value of `date: 2017-03-03` in a content file's front matter, you {{ .PublishDate.Format "January 2, 2006" }} => March 3, 2017 ``` -For formatting *any* string representations of dates defined in your front matter, see the [`dateFormat` function][dateFormat]. +For formatting *any* string representations of dates defined in your front matter, see the [`dateFormat` function][dateFormat], which will still leverage the Golang layout string explained below but uses a slightly different syntax. ## Go's Layout String