Skip to content
Snippets Groups Projects
Commit 16997bb4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix jinja/yaml syntax to force a new line after an inline if statement

parent d9de8eab
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,7 @@ redirect: no
{{ site.uptime.name|to_uuid }}:
name: {{ site.uptime.name }}
url: {{ site.protocol|default('https') }}://{% if site.apache_auth is defined %}{{ site.apache_auth.user }}:{{ site.apache_auth.password }}@{% endif %}{{ site.domain }}{% if site.uptime.path is defined %}/{{ site.uptime.path }}{% endif %}
{% if site.uptime.pollerParams|default(false) and site.uptime.pollerParams.body|default(false) %}
regex: {{ site.uptime.pollerParams.body|regex_escape() }}
{% endif %}
......@@ -142,6 +143,7 @@ redirect: no
{{ site.uptime.name|to_uuid }}:
name: {{ site.uptime.name }}
url: {{ site.protocol|default('https') }}://{% if site.apache_auth is defined %}{{ site.apache_auth.user }}:{{ site.apache_auth.password }}@{% endif %}{{ site.domain }}{% if site.uptime.path is defined %}/{{ site.uptime.path }}{% endif %}
{% if site.uptime.pollerParams|default(false) and site.uptime.pollerParams.body|default(false) %}
regex: {{ site.uptime.pollerParams.body|regex_escape() }}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment