Skip to content

Files

This branch is 6321 commits behind github/docs:main.

variables

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 7, 2021
Jan 17, 2024
Apr 1, 2024
Dec 14, 2022
Nov 18, 2022
Mar 4, 2024
Jan 31, 2024
Feb 28, 2024
Dec 12, 2022
Feb 14, 2024
Mar 20, 2024
Feb 9, 2024
Oct 15, 2021
Feb 8, 2024
Aug 3, 2023
Feb 8, 2024
Feb 1, 2024
Oct 15, 2021
Jan 23, 2024
Apr 2, 2024
Apr 1, 2024
Jan 23, 2024
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 %}