fedibird-fe/config/settings.yml
Andrew 0401a24558 Add support for multiple themes (#4959)
* Add support for selecting a theme

* Fix codeclimate issues

* Look up site default style if current user is not available due to e.g. not being logged in

* Remove outdated comment in common.js

* Address requested changes in themes PR

* Fix codeclimate issues

* Explicitly check current_account in application controller and only check theme availability if non-nil

* codeclimate

* explicit precedence with &&

* Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml

* codeclimate: indentation + return
2017-09-19 16:36:23 +02:00

54 lines
1.2 KiB
YAML

# config/app.yml for rails-settings-cached
#
# This file contains default values, and does not need to be edited
# when configuring an instance. These settings may be changed by an
# Administrator using the Web UI.
#
# For more information, see docs/Running-Mastodon/Administration-guide.md
#
defaults: &defaults
site_title: Mastodon
site_description: ''
site_extended_description: ''
site_terms: ''
site_contact_username: ''
site_contact_email: ''
open_registrations: true
closed_registrations_message: ''
open_deletion: true
timeline_preview: true
default_sensitive: false
unfollow_modal: false
boost_modal: false
delete_modal: true
auto_play_gif: false
system_font_ui: false
noindex: false
theme: 'default'
notification_emails:
follow: false
reblog: false
favourite: false
mention: false
follow_request: true
digest: true
interactions:
must_be_follower: false
must_be_following: false
reserved_usernames:
- admin
- support
- help
- root
- webmaster
- administrator
bootstrap_timeline_accounts: ''
development:
<<: *defaults
test:
<<: *defaults
production:
<<: *defaults