PardallMarkdown.Content.Post (PardallMarkdown v0.4.4) View Source
Fields are self-explanatory. Some special notes:
:is_published
: posts are added to the content trees and archives only whentrue
. To retrieve unpublished (draft) posts you have to usePardallMarkdown.Repository.get_all_posts
orPardallMarkdown.Repository.get_by_slug
.:toc
: the generated table of content from the post's Markdown headers.:type
: aPost
inside a taxonomy (i.e. inside a subfolder or subfolders) is of type:post
(example:"/docs/intro"
), a post inside the root folder is of type:page
(example:"/about"
).:metadata
: additional metadata found in the post's Markdown file definition map.