Skip to content

Files

Latest commit

60b71c4 · Nov 8, 2023

History

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

variables

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 7, 2021
Jun 21, 2023
Nov 1, 2023
Sep 25, 2023
Dec 14, 2022
Nov 18, 2022
Oct 17, 2023
Oct 10, 2023
Nov 6, 2023
Dec 12, 2022
Jun 13, 2023
Oct 25, 2022
Oct 15, 2021
May 17, 2023
Aug 3, 2023
Oct 17, 2022
Sep 21, 2023
Oct 15, 2021
Mar 24, 2023
Nov 8, 2023
Jul 17, 2023
Aug 29, 2023
Oct 15, 2021
Nov 8, 2023
Oct 31, 2022
Oct 18, 2023

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