Creestal::Core::Resources::FrontMatter
Inherits YAML::Serializable < Struct < Value < Object
Constructors
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
date
Sourcedraft
Sourcelayout
Stored as nilable so YAML::Serializable can deserialize an absent or explicit-null field without raising. Callers should use #resolved_layout, which always returns a non-nil String.
resolved_layout
Returns the declared layout name, falling back to DEFAULT_LAYOUT when the field was absent or explicitly null in the front matter.
tags
Sourcetitle
Source