Hwaro::Services::Scaffolds::Bare
Inherits Hwaro::Services::Scaffolds::Base < Reference < Object
Instance methods
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. bare therefore ships no
taxonomy templates (see template_files) and no search UI, so
emitting those config sections would generate output nothing links
to: empty /tags/ + /categories/ + /authors/ pages rendered by
the section.html fallback, a search.json no page fetches, and a
JSON-LD SearchAction pointing at a search endpoint that does not
exist — all of them listed in sitemap.xml.
Returns sample content files as a hash of path => content
hwaro init's DEFAULT path (no --full-config) and
--minimal-config both build on minimal_config_content, NOT
config_content — without this override the opt-outs documented
above only took effect under --full-config, so the common case
shipped exactly the taxonomies/search/highlight sections bare
promises to leave out. Mirrors the Simple#minimal_config_content
precedent.
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.