Version
Returns the Version object for the given site.
- Syntax
- SITE.Version
- Returns
- versions.Version
Overview
The Version method on a Site object returns the Version object for the given site, derived from the version definition in your project configuration.
Methods
Use these methods on the Version object.
IsDefault- (
bool) Reports whether this is the default version.{{ site.Version.IsDefault }} → true Name- (
string) Returns the version name. This is the lowercased key from your project configuration.{{ site.Version.Name }} → v1.0.0
Last updated:
November 8, 2026
:
content: Remove categories from front matter (1cc1dd83a)
Improve this page