struct

Hwaro::Models::VersionLink

Inherits Struct < Value < Object

One entry of page.version_links — the version switcher row for a versioned page. url is the SAME page in that version when it exists (matched by path relative to the version root, same language), else that version's root URL with exists = false.

Constructors

new(name : String, label : String, latest : Bool, url : String, exists : Bool, current : Bool = false)
Source

Instance methods

current
Source
current=(current : Bool)
Source
exists
Source
exists=(exists : Bool)
Source
label
Source
label=(label : String)
Source
latest
Source
latest=(latest : Bool)
Source
name
Source
name=(name : String)
Source
url=(url : String)
Source