1
0
mirror of synced 2026-01-01 18:05:46 -05:00
Files
docs/data/variables
Markus Olsson 88193c9a8f Bump macOS support from El Capitan to Sierra
GitHub Desktop recently shipped a version of Git LFS which has issues running on macOS 10.11. Given that 10.11 is unsupported from Apple it's about time we bumped this.

Fixes https://github.com/desktop/desktop/issues/12921

cc @github/desktop
2021-09-07 16:36:53 +02:00
..
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2021-08-19 18:18:00 +00: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 accessible as:

{% data foo.bar.meaning_of_life %}

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