On this page
Content Model
Batoi Press stores content as files. Page and post bodies stay readable, while metadata is stored in adjacent JSON files.
Content Directory Pattern
Each page or post is stored as a directory containing:
meta.json
body.htmlmeta.json stores structured fields such as title, slug, status, date, and template hints. body.html stores the readable content body.
Example paths from the current build:
radpress/content/pages/home/meta.json
radpress/content/pages/home/body.html
radpress/content/pages/about/meta.json
radpress/content/pages/about/body.html
radpress/content/posts/first-blog-post/meta.json
radpress/content/posts/first-blog-post/body.html
radpress/content/menus/main.jsonRelated Files
radpress/config/site.jsonfor site settings.radpress/config/routes.jsonfor routing configuration.radpress/config/users.jsonfor file-backed users.radpress/data/for cache, logs, sessions, backups, versions, and exports.radpress/config/update.jsonfor installed version, update channel, and stable manifest URL.
The default update.json shape is:
{
"current_version": "0.2.0",
"channel": "stable",
"stable_manifest_url": "https://www.batoi.com/pub/press/latest.json"
}Publishing Principle
Keep content portable. A site should be understandable from its files without needing a database dump.