Version
Returns the version object for the given site.
Syntax
SITE.Version
Returns
versions.Version
The Version method on a Site object returns the version object for the given site. The version object is derived from the version definition in the site configuration.
Methods
IsDefault
(bool) Reports whether this is the default version object as defined by the defaultContentVersion setting in the site configuration.
{{ .Site.Version.IsDefault }} → trueName
(string) Returns the version name. This is the lower cased key from the site configuration.
{{ .Site.Version.Name }} → v1.0.0