1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/data/variables
Steve Guntrip 1b0ac266ef [2021-11-01] Deprecating Zendesk Portal for Enterprise customers (GA) (#22453)
* Update support pages, new screenshots

* Udpate vars and release notes

* Fix variable

* update dotcom submit a ticket fields

* Apply suggestions from code review

Co-authored-by: Elijah Buck <buckelij@github.com>

* Update content/admin/enterprise-support/receiving-help-from-github-support/reaching-github-support.md

Co-authored-by: Elijah Buck <buckelij@github.com>

* Fixes and updates from feedback

* include ghec version in link

* Apply suggestions from code review

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* remove from 'submit via management console'

Co-authored-by: Elijah Buck <buckelij@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2021-11-01 10:49:03 -07:00
..
2021-10-15 15:41:33 -05:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-10-27 07:47:17 -07:00
2021-10-15 15:41:33 -05: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 %}