docs: Add .Site.RegularPages docs
authorCameron Moore <moorereason@gmail.com>
Sun, 11 Dec 2016 23:44:14 +0000 (17:44 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 15 Dec 2016 10:15:42 +0000 (11:15 +0100)
Fixes #2775

docs/content/templates/variables.md

index 98151bfcb559529ea7a72d8b8df1ea58c7ac2ac4..8fd65321168e6a74a09495ba6a0c962638f4dc37 100644 (file)
@@ -164,6 +164,7 @@ Also available is `.Site` which has the following:
 **.Site.Language.LanguageName** The full language name, e.g. `English`.<br>
 **.Site.LanguagePrefix** This can be used to prefix  theURLs with whats needed to point to the correct language. It will even work when only one language defined. See also the functions [absLangURL and relLangURL]({{< relref "templates/functions.md#abslangurl-rellangurl" >}}).<br>
 **.Site.Languages** An ordered list (ordered by defined weight) of languages.<br>
+**.Site.RegularPages** A shortcut to the *regular page* collection. Equivalent to `where .Site.Pages "Kind" "page"`.<br>
 
 ## File Variables