PardallMarkdown.Content.Link (PardallMarkdown v0.4.4) View Source
This model has many usages in PardallMarkdown:
- Taxonomies/categories are saved as
Link
. A taxonomyLink
also has all of itsPost
posts embedded into:children
(notice that the post content is set tonil
when the post in emdebbed into aLink
). - Post links for navigation and hierarchisation. A
Post
ownLink
also contains links to the:previous
and:next
posts of the content tree.
Special notes:
:sort_by
and:sort_order
: the sorting rule to sort a taxonomy's posts. Used only by links of thetype: :taxonomy
.:index_post
: the parsed_index.md
file as aPost
. Can be used when showing the archive page of a taxonomy (alongside the taxonomyLink.children
posts). Used only by links of thetype: :taxonomy
.