Skip to content

Files

Latest commit

e119a01 · Apr 8, 2022

History

History
This branch is 19 commits ahead of, 29677 commits behind github/docs:main.

variables

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 7, 2021
Dec 7, 2021
Oct 15, 2021
Jan 25, 2022
Sep 7, 2021
Dec 5, 2021
Oct 15, 2021
Dec 3, 2021
Sep 27, 2020
Oct 15, 2021
Oct 15, 2021
Apr 8, 2022
Mar 15, 2022
Oct 15, 2021

Variables

Variables are short strings of reusable text.

The YAML files in this directory each contain multiple variables.

The path, filename, and keys within each YAML file determine what its path will be in the data object.

For example, given a file data/variables/foo/bar.yml:

# multiple short strings in one file
meaning_of_life: 42

# and they can be nested if needed
nested:
  values:
    too: Yes!

Its values would be accessible as:

{% data foo.bar.meaning_of_life %}

{% data foo.bar.nested.values.too %}