Add 'permalinkPrefix' and 'default_theme' for configuring riot web (#472)

* add permalinkPrefix to riot-web config

* add feature to change default theme of riot-web via its config file

* remove matrix_riot_web_change_default_theme and provide sane default
This commit is contained in:
GuillauG
2020-04-28 12:10:33 +02:00
committed by GitHub
parent 8aabda88cb
commit 29f606bac7
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,8 @@
"settingDefaults": {
"custom_themes": {{ matrix_riot_web_settingDefaults_custom_themes|to_json }}
},
"default_theme": {{ matrix_riot_web_default_theme|string|to_json }},
"permalinkPrefix": {{ matrix_riot_web_permalinkPrefix|string|to_json }},
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|to_json }},
"disable_guests": {{ matrix_riot_web_disable_guests|to_json }},
"brand": {{ matrix_riot_web_brand|to_json }},