additional customizations of welcome page

This commit is contained in:
Stefan Warnat 2020-03-03 22:16:52 +01:00
parent 8bc4f56385
commit 0322a5443a
2 changed files with 18 additions and 0 deletions

View File

@ -32,7 +32,20 @@ matrix_riot_web_welcome_user_id: "@riot-bot:matrix.org"
# Branding of riot web # Branding of riot web
matrix_riot_web_brand: "Riot" matrix_riot_web_brand: "Riot"
# Links, shown in footer of welcome page:
# [{"text": "Link text", "url": "https://link.target"}, {"text": "Other link"}]
matrix_riot_web_welcome_footerlinks: false
# URL to image, shown during Login
matrix_riot_web_welcome_authlogo: false
# URL to Wallpaper, shown in background of welcome page
matrix_riot_web_welcome_background: false
# URL to Logo on welcome page
matrix_riot_web_welcome_logo: "welcome/images/logo.svg" matrix_riot_web_welcome_logo: "welcome/images/logo.svg"
# URL of link on welcome image
matrix_riot_web_welcome_logo_link: "https://riot.im" matrix_riot_web_welcome_logo_link: "https://riot.im"
matrix_riot_web_welcome_headline: "_t('Welcome to Riot.im')" matrix_riot_web_welcome_headline: "_t('Welcome to Riot.im')"

View File

@ -29,5 +29,10 @@
{% endif %} {% endif %}
"embeddedPages": { "embeddedPages": {
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string|to_json }} "homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string|to_json }}
},
"branding": {
"authFooterLinks": {{ matrix_riot_web_welcome_footerlinks|to_json }},
"authHeaderLogoUrl": {{ matrix_riot_web_welcome_authlogo|to_json }},
"welcomeBackgroundUrl": {{ matrix_riot_web_welcome_background|to_json }}
} }
} }