struct

Hwaro::Content::Taxonomies::TermSpace

Inherits Struct < Value < Object

One taxonomy in one output space (the root, or /<lang>/): the terms it writes pages for and their slugs. ONE computation feeds both the generator and match_term_metadata, so a term _index.md is headless exactly when its term page is written.

Constructors

new(taxonomy : Models::TaxonomyConfig, language : String | Nil, lang_prefix : String, terms_map : Hash(String, Array(Models::Page)), index_terms : Array(String), slug_map : Hash(String, String))
Source

Instance methods

clone
Source
copy_with(taxonomy _taxonomy = @taxonomy, language _language = @language, lang_prefix _lang_prefix = @lang_prefix, terms_map _terms_map = @terms_map, index_terms _index_terms = @index_terms, slug_map _slug_map = @slug_map)
Source
index_terms
lang_prefix
language
slug_map
taxonomy
terms_map