Hwaro::Services::Scaffolds::Remote
Inherits Hwaro::Services::Scaffolds::Base / Reference / Object
Constructors
Class methods
Parse a remote source string into {owner, repo, subpath}
Check if a scaffold source string represents a remote scaffold
Instance methods
Remote scaffolds mirror the upstream repo verbatim; we don't
inject a built-in default.md because the remote might deliberately
not use archetypes, or already ship its own under archetypes/.
Returns the config.toml content. multilingual_languages (from
--include-multilingual) is threaded through so the full config
emits a real, enabled [languages] block instead of the commented
placeholder.
Returns sample content files as a hash of path => content
If the remote provided a config.toml, use it as-is (even for --minimal-config). If not (remote can be templates-only), fall back to the built-in minimal generator.
Returns static files as a hash of path => content. Every
scaffold inherits a tiny SVG favicon so a freshly-generated
site doesn't show a blank tab icon. Scaffolds that override
static_files (blog/docs/book) merge super to keep it.
Returns template files as a hash of path => content