Crate cinnog

Source
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§

FileName
The name of the file that this entity represents.
FilePath
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.