struct

Kamil::Frontmatter

Inherits YAML::Serializable < JSON::Serializable < Struct < Value < Object

Constructors

new(title : String | Nil = nil, slug : String | Nil = nil, format : DocumentFormat | Nil = nil, status : DocumentStatus | Nil = nil, published_at : Time | Nil = nil, updated_at : Time | Nil = nil, taxonomies : Hash(String, Array(String)) | Nil = nil, custom_fields : Hash(String, JSON::Any) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

custom_fields
Source
format
Source
published_at
Source
slug
Source
status
Source
taxonomies
Source
title
Source
updated_at
Source