1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-24 19:48:28 +09:00
YuruToot/app/views/manifests/show.json.rabl
Eugen Rochko 722d152082 Fix #3063 - Add dynamic app manifest (#3563)
* Fix #3063 - Add dynamic app manifest

* Added short_name

* Add background_color
2017-06-06 19:29:42 +02:00

12 lines
526 B
Ruby

object false
node(:name) { Setting.site_title }
node(:short_name) { Setting.site_title }
node(:description) { strip_tags(Setting.site_description.presence || I18n.t('about.about_mastodon')) }
node(:icons) { [{ src: '/android-chrome-192x192.png', sizes: '192x192', type: 'image/png' }] }
node(:theme_color) { '#282c37' }
node(:background_color) { '#d9e1e8' }
node(:display) { 'standalone' }
node(:start_url) { '/web/timelines/home' }
node(:scope) { root_url }