1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

Allow to specify default theme

This commit is contained in:
Simeon Keske 2020-05-09 23:01:51 +02:00 committed by Thomas Maurice
parent 7e7626ed2a
commit 1f88e7238a
3 changed files with 7 additions and 0 deletions

View file

@ -69,6 +69,8 @@ The following code has been tested with Debian 8, it should work on Ubuntu as we
* `gitea_enable_captcha`: Do you want to enable captcha's ? (true/false) * `gitea_enable_captcha`: Do you want to enable captcha's ? (true/false)
* `gitea_secret_key`: Cookie secret key * `gitea_secret_key`: Cookie secret key
* `gitea_internal_token`: Internal API token * `gitea_internal_token`: Internal API token
* `gitea_themes`: List of enabled themes
* `gitea_theme_default`: Default theme
### Limits ### Limits

View file

@ -64,3 +64,6 @@ gitea_oauth2_jwt_secret: ChangeMe
gitea_metrics_enabled: false gitea_metrics_enabled: false
gitea_metrics_token: ~ gitea_metrics_token: ~
gitea_themes: gitea,arc-green
gitea_theme_default: gitea

View file

@ -26,6 +26,8 @@ DISABLE_HTTP_GIT = {{ gitea_disable_http_git }}
[ui] [ui]
; Whether the email of the user should be shown in the Explore Users page ; Whether the email of the user should be shown in the Explore Users page
SHOW_USER_EMAIL = {{ gitea_show_user_email }} SHOW_USER_EMAIL = {{ gitea_show_user_email }}
TMEMES = {{ gitea_themes }}
DEFAULT_THEME = {{ gitea_theme_default }}
[server] [server]
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.