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§
- Ancestors
- A wrapper around a
str
representing a path,Content
implementation acts like an iterator over the path segmets. - Context
- Whole context for rendering the site
- Date
Time - A wrapper around the
chrono::NaiveDateTime
, used for rendering of dates. - HashMap
- A hash map wrapper that can render fields directly by the hash.
- Page
- All the information regarding one page
- Pages
- A list of pages properly sorted and linked within. It dereferences to
[Page]
. - Picture
- A single picture on a page.
- Site
- Information about the site usable in templates
- Source
- Data about where the source of a one particular file is located
- Sources
- All of the site source files
- Taxon
Meta - Information abouth the given taxonomy.
- Taxonomy
- One taxonomical category of the site (e.g. tags, categories).
Enums§
- Any
- A sum of all the types that can be used in a TOML file.
Traits§
- Parser
- A structure that can parse Page from binary data. Is typically a deserializer or an enum of deserializers.
Functions§
- render_
meta - Render sitemap, Atom and RSS feeds if enabled in the config.
Type Aliases§
- Taxonomies
- All the classes in all taxonomies one page belongs to.