Skip to main content

Crate breb

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 Servables, which map cleanly to http responses.

Modules§

quick
all the imports you usually need. use breb::quick::* for best results.
serve
the part of the blog that can actually serve files

Structs§

Author
info for the atom feed about the blog’s author(s).
Blog
a blog that’s fully ready to serve files
Config
defines the structure of a blog
LiveServer
serve a Config, fresh from the disk
Metadata
metadata about the blog, as supplied by serves
Mime
the mime type of a file (i.e. at a Url)
Post
metadata about a syndicated blogpost.
Servable
information about a file that this blog can render.

Enums§

TemplateSrc
tells the blog where to load its templates when it loads