maivi uses a few important directories. ### `lua/` this directory is used for your templates. the `lua/init.lua` file is used to initialize the site. this file defines maivi's routes and can pre-process data files. for now lets create a simple site that creates a route at the route of our site that uses a page component we'll create later. ```lua -- maivi.router:add takes the url path (`/`) as -- an argument together with a component and -- a table with extra properties for this route maivi.router:add("/", page, { gleeb = "gloob" }) ``` ### `static/` files inside this directory are statically served on `/`. ### `data/` this file contains content files and frequently markup files. files in this directory are scanned for frontmatter and passed to lua. the syntax for the frontmatter uses a simplified version of toml: ```toml +++ title = "meow" desc = "wiwiwi wawawa" date = 2026-03-31 tags = im,very,hungy +++ ```