The following is a list of site-level (aka “global”) variables. Many of these variables are defined in your site’s configuration file, 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.
Site Variables List
array of all pages, regardless of their translation.
a map of the authors as defined in the site configuration.
the base URL for the site as defined in the site configuration.
a boolean (default: false) to indicate whether to build drafts as defined in the site configuration.
a string representing the copyright of your website as defined in the site configuration.