AllPages
Returns a collection of all pages in all languages.
BaseURL
Returns the base URL as defined in the site configuration.
BuildDrafts
Reports whether the current build includes draft pages.
Config
Returns a subset of the site configuration.
Copyright
Returns the copyright notice as defined in the site configuration.
Data
Returns a data structure composed from the files in the data directory.
DisqusShortname
Returns the Disqus shortname as defined in the site configuration.
GetPage
Returns a Page object from the given path.
GoogleAnalytics
Returns the Google Analytics tracking ID as defined in the site configuration.
Home
Returns the home Page object for the given site.
IsDevelopment
Reports whether the current running environment is “development”.
IsMultiLingual
Reports whether there are two or more configured languages.
IsServer
Reports whether the built-in development server is running.
Language
Returns the language object for the given site.
LanguagePrefix
Returns the URL language prefix, if any, for the given site.
Languages
Returns a collection of language objects for all sites, ordered by language weight.
LastChange
Returns the last modification date of site content.
Lastmod
Returns the last modification date of site content.
MainSections
Returns a slice of the main section names as defined in the site configuration, falling back to the top level section with the most pages.
Menus
Returns a collection of menu objects for the given site.
Pages
Returns a collection of all pages.
Param
Returns the site parameter with the given key.
Params
Returns a map of custom parameters as defined in the site configuration.
RegularPages
Returns a collection of all regular pages.
Sections
Returns a collection of first level section pages.
Sites
Returns a collection of all Site objects, one for each language, ordered by default content language then by language weight.
Store
Returns a "scratch pad" to store and manipulate data, scoped to the current site.
Taxonomies
Returns a data structure containing the site's Taxonomy objects, the terms within each Taxonomy object, and the pages to which the terms are assigned.
Title
Returns the title as defined in the site configuration.