Markdown
Class methods
new_page(path)
Create a new "page" file
new_post(path)
Create a new "post" file
posts
read_all(path)
Parse all markdown posts in a path and build Markdown::File objects out of them
render(posts, require_date = true, require_title = false)
Render given posts using given template
posts is an Array of Markdown::File
if require_date is true, posts must have a date
if require_title is true, posts must have a title
render_index(posts, output, title = nil, extra_inputs = [] of String, extra_feed = nil, main_feed = nil, lang = nil, feature_name = "posts")
Create an index page out of a list of posts, save in output
validate(posts, require_date = true)
Similar to self.render but it only validates correctness of posts without actually generating output