Skip to content

Files

Latest commit

b7c7dbf · Feb 15, 2023

History

History
This branch is 15949 commits behind github/docs:main.

variables

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 7, 2021
Aug 22, 2022
Nov 11, 2022
Dec 14, 2022
Nov 18, 2022
Jul 20, 2022
Dec 12, 2022
Sep 7, 2021
Oct 25, 2022
Oct 15, 2021
Dec 3, 2021
Sep 27, 2020
Oct 17, 2022
Feb 15, 2023
Oct 15, 2021
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Oct 15, 2021
Dec 16, 2022
Oct 31, 2022

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 %}