Variables

A plethora of variables are automatically available at your fingertips based on context. Let's have a look!


Global

Globals are available at any time, regardless of whether the URL you are on is for content (a Page, Entry, Term) or if it has been created using a route.

Content

"Content" encompasses data types that can be mapped to a URL. These include Pages, Entries, and Taxonomy Terms. Any time you encounter one of these, the following variables will be available, as well as any fields you've defined yourself.

Page

Pages have access to all the Content variables, and these:

Entry

Entries have access to all the Content variables, and these:

Term

Taxonomy terms have access to all the Content variables, and these:

Asset

Assets have access to all the Content variables, and these:

Last modified on December 14, 2017