Macros


All Pages > wiki-ng docs > Macros

Zola allows for the creation of macros. The ones implemented for this project live in templates/macros.html.

tree(section)

Creates a tree of all the sub pages of a section.

path(page)

Gets the path of a page relative to the content/wiki/ directory.


Do not use these macros

These macros are used to construct the sidebar of the site. Do not use them unless you know what you are doing.

sidebar_tree(section)

sidebar()