Feature Requested: Support ninja template in link field
ileodo opened this issue · 1 comments
ileodo commented
- in dashboard.yaml, have a map allows user to define some variables, e.g. "fava_path" describing the fava url path
- allow users to refer to those variables in fields like
link
, e.g.{{fava_path]}/account/ABC
andreasgerstmayr commented
I'd like to keep this extension as simple as possible and would rather not support templating.
To preprocess your dashboards.yaml
file you can use for example envsubst
: https://dustinrue.com/2020/05/simplistic-templating-with-envsubst/