Make it possible to override the welcome.html.j2 template used for Element

This commit is contained in:
Slavi Pantaleev
2021-01-27 12:36:57 +02:00
parent 512f42aa76
commit 07f1ea24ee
2 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,7 @@
group: "{{ matrix_user_groupname }}"
with_items:
- {src: "{{ role_path }}/templates/nginx.conf.j2", name: "nginx.conf"}
- {src: "{{ role_path }}/templates/welcome.html.j2", name: "welcome.html"}
- {src: "{{ matrix_client_element_page_template_welcome_path }}", name: "welcome.html"}
- {src: "{{ matrix_client_element_embedded_pages_home_path }}", name: "home.html"}
when: "matrix_client_element_enabled|bool and item.src is not none"