☀ Hey, Automad version 2 is now available as an alpha version.
Read more here!
Try a Demo
♡ Sponsor
Index
Recursion
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
3
pages found
Template Language ⁄
Snippets
— Template Language
The snippet statement allows for defining reusable code snippets and is therefore also the basis for any kind of recursion in Automad. A snippet always inherits the context of the calling code. To use a snippet, it is enough to put the snippet's name in statement delimiters.
Template Language ⁄
Includes
— Template Language
In many cases, different templates across a theme use recurring components such as a header, a navbar or a footer. Those elements can be stored in separate files and included whenever needed. To include such an external snippet, simply wrap its path relative to the current file ...
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 ...
Automad
Getting Started
System
User Guide
Developer Guide
Headless Mode
Discuss
Packages
Live Demo
☀ Version 2