From 6399746d481777f109397bdd7b07544b2b04f59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Tue, 15 Aug 2023 17:03:50 -0300 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f0a72e..0c8b0ab 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,15 @@ name: 'Charles Darwin' # Welcome, {{ name }}! ``` -To use access TaxonPage internal variables that are provided in `config/*.yml` you can use the script tag in your markdown page and get them from the global object `__APP_ENV__` +To use TaxonPage internal variables in `config/*.yml`, you can either do so by adding the prefix {{ app:var_name }} or use the script tag in your markdown page and get them from the global object `__APP_ENV__` + +#### Prefix + +```markdown +# Welcome to {{ app:project_name }}! +``` + +#### Script tag ```javascript # Welcome to {{ project_name }}!