Core Concepts Overview
jstatico transforms a source directory into a static website through a simple, predictable process.
Key Ideas
Everything is a Tree
Your source directory becomes a tree data structure. Each file is a node with content and metadata. Templates can access any part of this tree.
Three-Phase Pipeline
Every build follows the same steps:
- Preprocess - Parse input files (Markdown → HTML, extract frontmatter)
- Render - Apply templates (Nunjucks)
- Write - Output to destination
Convention Over Configuration
Special prefixes determine behavior:
_prefix = not written to output (layouts, data, processors).jsonin_site/= loaded as data.processor.js= generates pages dynamically
Learn More
- Pipeline - How files flow through the system
- Tree Structure - Accessing data in templates
- Frontmatter - Page metadata
- Naming Conventions - Special files and directories