From: Cameron Moore Date: Sun, 11 Dec 2016 23:44:14 +0000 (-0600) Subject: docs: Add .Site.RegularPages docs X-Git-Tag: v0.18~12 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9c2ea3691a6c0decf6b3bb033ce5564f4887ef4d;p=brevno-suite%2Fhugo docs: Add .Site.RegularPages docs Fixes #2775 --- diff --git a/docs/content/templates/variables.md b/docs/content/templates/variables.md index 98151bfc..8fd65321 100644 --- a/docs/content/templates/variables.md +++ b/docs/content/templates/variables.md @@ -164,6 +164,7 @@ Also available is `.Site` which has the following: **.Site.Language.LanguageName** The full language name, e.g. `English`.
**.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" >}}).
**.Site.Languages** An ordered list (ordered by defined weight) of languages.
+**.Site.RegularPages** A shortcut to the *regular page* collection. Equivalent to `where .Site.Pages "Kind" "page"`.
## File Variables