Struct mdblog::Post [] [src]

pub struct Post {
    pub path: PathBuf,
    pub title: String,
    pub url: PathBuf,
    pub headers: PostHeaders,
    pub content: String,
    // some fields omitted
}

blog post

every blog post is composed of head part and body part. the two part is separated by the first blank line.

Fields

post path from relative root directory

the post title

the post url

post headers

post html body

Methods

impl Post
[src]

[src]

[src]

the absolute path of blog post markdown file.

[src]

the absolute path of blog post html file.

[src]

check post hidden flag in the post header.

Trait Implementations

Auto Trait Implementations

impl Send for Post

impl Sync for Post