We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ecd31 commit 9d622b5Copy full SHA for 9d622b5
templates/srv/www/sites/welcome/public/index.html.j2
@@ -2,7 +2,9 @@
2
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
{% set nginx_tpl_domain = item.welcome_domain | d(item.name if item.name is string else item.name[0] | d(ansible_domain)) %}
4
{% if nginx_tpl_domain %}
5
-{% set nginx_tpl_welcome_title = '<a href="{{ item.welcome_url_scheme|d("https") }}://' + nginx_tpl_domain + '/">' + nginx_tpl_domain + '</a>' %}
+{% set nginx_tpl_welcome_title %}
6
+<a href="{{ item.welcome_url_scheme|d("https") }}://{{ nginx_tpl_domain }}/">{{ nginx_tpl_domain }}</a>
7
+{% endset %}
8
{% elif not nginx_tpl_domain %}
9
{% set nginx_tpl_welcome_title = '<a href="http://companyname.website/">CompanyName.website</a>' %}
10
{% endif %}
0 commit comments