Crate breb

Source
Expand description

blog/reblog is oriented around the Blog: a collection of Serves with some sitewide metadata. each Serve knows how to render the files in it, and the Blog maps the actual incoming requests to them. the responses are in the form of [Response]s, which map cleanly to http responses.

Re-exports§

pub use config::Config;

Modules§

config
the types used to parse the usual config file format(s)
parse
parsing various representations of things that turn into html.
quick
all the imports you usually need. use breb::quick::* for best results.

Macros§

impl_from_doc_meta
automatically generate a FromDocumentMeta implementation for a struct.

Structs§

AsIs
Serves files exactly as they are on-disk.
Author
info for the atom feed about the blog’s author.
Blog
blog-wide information, both explicitly configured and derived from served files.
Builder
a typesafe builder for Blogs.
Dir
a subpath under the input directory of the site.
Feed
machine-parseable feeds of syndicated posts, in various formats.
Mount
maps Urls to Dirs and vice versa.
Pages
Serves unsyndicated pages.
Posts
Serves syndicated blogposts.
Url
a subpath under the root url of the site.

Traits§

Serve
a single group of files for the server to serve. 0

Type Aliases§

FinishedBuilder
Shortcut for a Builder ready to be built.
ServedBuilder
Shortcut for a Builder with serves complete but nothing else.