☀ Hey, Automad version 2 is now available as an alpha version.
Read more here!
Try a Demo
♡ Sponsor
Index
Variable
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
6
pages found
Variables ⁄
Reserved Variables
— Variables
Some variables have reserved names and are always defined. They can be found on top of the page/shared data section in the dashboard. Reseverd variables can be used like normal page variables.
Template Language ⁄
Variables
— Template Language
The actual value of a variable is depending on the current context. In most cases the context is the currently requested page. However, control structures can change the context to any other page during runtime, for example when iterating over a list of pages. In case a variable ...
Template Language ⁄
Pipe
— Template Language
A pipe | allows for using the value of a variable to be the input value for a function. It is also possible to chain multiple functions together, so that the output of one function is used as input for the next one. Therefore a pipe can be used to modify the value of a variable ...
Variables ⁄
Runtime Variables
— Variables
There are some variables defined by Automad during runtime. The names of those runtime variables are always preceded with a colon as follows: @{ :basename } Runtime variables can be subdivided into two types - context related variables and variables created within control ...
Toolbox ⁄
queryStringMerge
— Toolbox
Creates a query string containing the specified paramters as key/value pairs merged with the existing query string of the current URL. This method can be used to create links for adding or replacing some parameters of the query string without touching the other ones. A standard ...
Toolbox ⁄
set
— Toolbox
Sets shared, session or runtime variables by passing key/value pairs as option array.
Automad
Getting Started
System
User Guide
Developer Guide
Headless Mode
Discuss
Packages
Live Demo
☀ Version 2