Function dokkoo::render_layouts[][src]

pub fn render_layouts(
    sub: &Page,
    layout: Page,
    collections: &HashMap<String, Vec<Page>>
) -> String

Render the layout(s) of a post recursively (should a layout have a layout of its own)

Arguments

  • page - The .mokkf file’s context as a Page

  • layout - The File’s layout’s context as a Page

  • collections - Collection store of this build