class

Hwaro::Services::Scaffolds::Bare

Inherits Hwaro::Services::Scaffolds::Base / Reference / Object

Instance methods

config_content(skip_taxonomies : Bool = false, multilingual_languages : Array(String) = [] of String) : String

bare is intentionally minimal — taxonomies/search/highlight are opt-in features that conflict with the "no batteries" promise of this scaffold. Users who want them can copy from the simple scaffold or pass --scaffold simple. The taxonomies_config override above is therefore omitted from the default emit even when --include-taxonomies is set; we still ship the taxonomy templates below so users can wire them up later by adding [[taxonomies]] entries themselves.

Source
content_files(skip_taxonomies : Bool = false) : Hash(String, String)

Returns sample content files as a hash of path => content

Source
description

Returns the description of this scaffold

Source
shortcode_files

Returns shortcode files as a hash of path => content

Source
template_files(skip_taxonomies : Bool = false) : Hash(String, String)

bare ships no taxonomy templates by default — taxonomies are opt-in here (see config_content), so the matching templates would be dead files. Users who add [[taxonomies]] later can copy from the simple scaffold or generate their own.

Source
type

Returns the scaffold type

Source