The datas module provides the site.data object — a tree of data loaded from files in /.lunet/data/. Format-specific modules register their loaders into this plugin:
All data files from /.lunet/data/ are loaded before content processing begins, so data is available in config.scriban, layouts, includes, and page templates.
Data files are keyed by filename without extension:
/.lunet/data/
project.yml → site.data.project
authors.json → site.data.authors
settings.toml → site.data.settings
blog/
tags.yml → site.data.blog.tags
Subdirectories create nested objects automatically.
site.data.project.name
site.data.authors[0].email
product.json and product.yml), only the first one loaded is kept and a warning is logged.site.data is read-only at the top level — you cannot replace it from Scriban, but you can read all its children..yml / .yaml data loader and front matter parser.json data loader.toml data loader