Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParsedPosts ¶
ParsedPosts is the output from ParsePosts
type Parser ¶
Parser is used to parse markdown files to get the posts, pages, categories and tags that used in the blog.
func (Parser) ParsePages ¶
ParsePages parse all pages inside the page directory
func (Parser) ParsePosts ¶
func (ps Parser) ParsePosts() (output ParsedPosts, err error)
ParsePosts parse all posts inside the post directory. Returns all posts, also categories and tags that used in the posts.
Click to show internal directories.
Click to hide internal directories.