1
0
mirror of synced 2026-01-20 21:02:43 -05:00
Files
docs/data/variables
mc f0f6f88d5a 2776 - Update Dependabot feature names in docs to reflect brand guide (#16291)
* update Dependabot variables

* update variables in docs

* update file names, titles and linked text

* fixing more anchors/links

* add redirects

* remove duplicate redirect from
2020-11-03 15:45:49 +00:00
..
2020-09-27 14:10:11 +02:00
2020-11-02 15:12:44 -06:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00

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 accesible as:

{% data foo.bar.meaning_of_life %}

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