Compare commits
1 Commits
3b4e4bdbc1
...
78c6e26a09
Author | SHA1 | Date | |
---|---|---|---|
78c6e26a09 |
@ -24,10 +24,10 @@ bookstack_permissions:
|
||||
- key_values:
|
||||
{%- macro condconf(option) %}
|
||||
{%- if option in mypillar -%}
|
||||
{%- if mypillar[option] is string and mypillar[option].startswith('$') or mypillar[option] is number %}
|
||||
{%- if ( mypillar[option] is string and mypillar[option].startswith('$') ) or mypillar[option] is number %}
|
||||
{%- set value = mypillar[option] %}
|
||||
{%- else %}
|
||||
{%- set value = "\"'" ~ mypillar[option] ~ "'\"" %}
|
||||
{%- set value = mypillar[option] | quote %}
|
||||
{%- endif %}
|
||||
{{ option | upper }}: {{ value }}
|
||||
{%- endif -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user