☀ Hey, Automad version 2 is now available as an alpha version.
Read more here!
Try a Demo
♡ Sponsor
Index
Navigation
Show All
Blocks
Case
Cheat Sheet
Command Line Interface
Composer
Condition
Configuration
Content
Context
Dashboard
Date
Development
Extension
File
Filelist
Filter
Find
HTML
Headless
Image
Inheritance
Installation
Language
Layout
Loop
Math
Method
Navigation ✓
Object
PHP
Package
Pagelist
Pipe
Preview
Recursion
Regex
SEO
Session
Snippet
Sort
Statement
Strip
Theme
URL
Variable
v2
7
pages found
Template Language ⁄
Recursive Navigations
— 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 ...
Toolbox ⁄
breadcrumbs
— Toolbox
Creates the markup for a breadcrumb trail to the current page.
Toolbox ⁄
nav
— Toolbox
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".
Toolbox ⁄
navChildren
— Toolbox
This method is a shorthand version of the nav method, using the current page as the parent context.
Toolbox ⁄
navSiblings
— Toolbox
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.
Toolbox ⁄
navTop
— Toolbox
This method is a shorthand version of the nav method, using the homepage "/" page as the parent context.
Toolbox ⁄
navTree
— Toolbox
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.
Automad
Getting Started
System
User Guide
Developer Guide
Headless Mode
Discuss
Packages
Live Demo
☀ Version 2