Expand description
Cinnog is an experimental static site generator using Leptos
§Datalayer
Cinnog uses Bevy ECS as [Datalayer
] to simplify site data preparation and handling.
Before building the site, you can add any data into the datalayer or manipulate already
exising data.
During site generation, your Leptos components can query the data layer and generate
content based on it. Example workflows are automatic conversion of markdown files to HTML,
or resizing all media content.
Modules§
- loaders
- Load and convert different types of files.
Structs§
- File
Name - The name of the file that this entity represents.
- File
Path - The path of the file that this entity represents.
Traits§
- Ingest
- Define how to convert data into ECS Components in the datalayer.
Functions§
- default_
bundle_ from_ path - Default components marking an entity as representing a file on the file system with a given
Path
. - expect_
resource - Expect a resource from the data layer.
- run_
system - Execute a system against the datalayer.
- run_
system_ with_ input - Execute a system with given inputs against the datalayer.
- use_
resource - Use a resource from the data layer.