mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
This commit is contained in:
@@ -20,6 +20,10 @@ toc: true
|
||||
|
||||
The following is a list of site-level (aka "global") variables. Many of these variables are defined in your site's [configuration file][config], whereas others are built into Hugo's core for convenient usage in your templates.
|
||||
|
||||
## Get the Site object from a partial
|
||||
|
||||
All the methods below, e.g. `.Site.RegularPages` can also be reached via the global `site` function, e.g. `site.RegularPages`, which can be handy in partials where the `Page` object isn't easily available. {{< new-in "0.53.0" >}}.
|
||||
|
||||
## Site Variables List
|
||||
|
||||
.Site.AllPages
|
||||
|
Reference in New Issue
Block a user