I couldn't find another way of doing it through the config https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui