Command Line Interface
Template Language ⁄
— Template Language
Navigations and menus represent an essential part of any webiste. Automad provides convenient methods to iterate over the collection of pages recursively and therefore allows for creating site trees in a few simple steps. The basic concept behind a navigation tree in Automad is ...
Creates the markup for a breadcrumb trail to the current page.
Creates a simple HTML list as navigation below a given page. This method basically serves as a shorthand version of a foreach loop iterating over a pagelist of type "children".
This method is a shorthand version of the nav method, using the current page as the parent context.
This method is a shorthand version of the nav method, using the parent page of the current page as the parent context. The included pages are therefore all siblings of the current page.
This method is a shorthand version of the nav method, using the homepage "/" page as the parent context.
Generates the HTML for a full site tree. This method can be used as a shorthand for recursively iterating over pagelists to create nested lists of page links.
Become a Sponsor
2013-2022 by Marc Anton Dahmen
Released under the MIT license
A faceless machine, creating one's portrait in the internet.