module

Hwaro::Core::Build::DataDisk

Constants

EXTENSIONS = {".yml", ".yaml", ".json", ".toml"}

Extensions data/ loads into site.data, compared lowercased.

Instance methods

load_hash

The disk tree as the site.data hash shape (top-level keys only, no remote entries). Convenience for non-build callers.

Source
load_tree

Walk data/** into a tree. Deeper paths are processed first so directory namespaces are established before any same-stem root-level file can claim the key.

Source
tree_to_crinja(node : Node) : Crinja::Value
Source

Nested types