pub struct Mdblog { /* fields omitted */ }
Expand description
blog object
Implementations
load blog customize settings.
layered configuration system:
- default settings
config.toml
BLOG_
prefix environment variable
load blog posts.
build index pages
build tag pages
serve the blog static files in the build_dir
directory.
blog build directory absolute path.
blog theme root directory absolute path.
blog media root directory absolute path.
blog posts root directory.
blog glob ignore patterns.
the patterns are used when :
mdblog new
command, the post path is checkedmdblog serve
command, the modified file path is checked
create a new sample post.
export blog config.toml file.
export blog media files.
export blog static files.
export blog posts.
export blog index page.
export blog tags page.
export blog tag index page.
export blog atom.xml
render post.html.
render index*.html.
render tags.html.
list blog themes.
create a new blog theme as same as the current blog theme.
delete a blog theme.
set blog theme.
Auto Trait Implementations
impl !RefUnwindSafe for Mdblog
impl !UnwindSafe for Mdblog
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.