mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
Remove some deprecated site variables
This commit is contained in:
1 parent
e6777153b5
commit
2d6246bcd3
1 file changed
-6
@@ -88,15 +88,9 @@ The following is a list of site-level (aka "global") variables. Many of these va
|
|||||||
.Site.Pages
|
.Site.Pages
|
||||||
: array of all content ordered by Date with the newest first. This array contains only the pages in the current language. See [`.Site.Pages`](#site-pages).
|
: array of all content ordered by Date with the newest first. This array contains only the pages in the current language. See [`.Site.Pages`](#site-pages).
|
||||||
|
|
||||||
.Site.Permalinks
|
|
||||||
: a string to override the default [permalink](/content-management/urls/) format as defined in the site configuration.
|
|
||||||
|
|
||||||
.Site.RegularPages
|
.Site.RegularPages
|
||||||
: a shortcut to the *regular* page collection. `.Site.RegularPages` is equivalent to `where .Site.Pages "Kind" "page"`. See [`.Site.Pages`](#site-pages).
|
: a shortcut to the *regular* page collection. `.Site.RegularPages` is equivalent to `where .Site.Pages "Kind" "page"`. See [`.Site.Pages`](#site-pages).
|
||||||
|
|
||||||
.Site.RSSLink
|
|
||||||
: the URL for the site RSS.
|
|
||||||
|
|
||||||
.Site.Sections
|
.Site.Sections
|
||||||
: top-level directories of the site.
|
: top-level directories of the site.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user