Hwaro::Services::Scaffolds::Book
Inherits Hwaro::Services::Scaffolds::Base < Reference < Object
Instance methods
Returns the site title used in config (overridable per scaffold).
Public so hwaro doctor can source its placeholder-title advisory
from the scaffolds themselves instead of a hand-kept literal list
that only ever covered "My Hwaro Site".
Returns sample content files as a hash of path => content
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.
Book templates share the same chrome (top header, search
overlay, side arrows, sidebar) across page/section/taxonomy/404
— extracting them into partials/ makes "edit the nav" a
one-file change and keeps 404/taxonomy inside the
book-container so footer.html's closing tags match the
body's open tags.
Taxonomy templates are never shipped: the book config enables no
[[taxonomies]] (book scaffolds are ordered chapter-style and
don't use tags — see ships_taxonomies?), so the templates would
be dead files. Users who want taxonomies can copy them from the
simple/blog scaffolds along with a [[taxonomies]] block.