Crate blades

source ·
Expand description

Blazing fast dead simple static site generator.

Features

Currently, Cargo doesn’t support binary-only dependencies. As such, these dependencies are behind the bin feature gate, which is enabled by default. When using Blades as a library, they are not necessary, so it is recommended to import blades with default_features = false.

Structs

A wrapper around a str representing a path, Content implementation acts like an iterator over the path segmets.
Whole context for rendering the site
A wrapper around the chrono::NaiveDateTime, used for rendering of dates.
A hash map wrapper that can render fields directly by the hash.
All the information regarding one page
A list of pages properly sorted and linked within. It dereferences to [Page].
A single picture on a page.
Information about the site usable in templates
Data about where the source of a one particular file is located
All of the site source files
Information abouth the given taxonomy.
One taxonomical category of the site (e.g. tags, categories).

Enums

A sum of all the types that can be used in a TOML file.

Traits

A structure that can parse Page from binary data. Is typically a deserializer or an enum of deserializers.

Functions

Render sitemap, Atom and RSS feeds if enabled in the config.

Type Definitions

All the classes in all taxonomies one page belongs to.