mirror of
https://github.com/funamitech/mastodon
synced 2024-12-11 21:29:17 +09:00
7208edbd37
Packs are now loaded from views, just like upstream, and are identified by their filenames. The definition of `theme.yml` has changed as such: - `pack_directory` is now required - `pack` is now unused - `signed_in_preload` has been introduced
18 lines
619 B
YAML
18 lines
619 B
YAML
# (REQUIRED) The directory which contains the pack files.
|
|
pack_directory: app/javascript/packs
|
|
|
|
# (OPTIONAL) Define files to be preloaded when a logged-in user is
|
|
# visiting the main web app.
|
|
signed_in_preload:
|
|
- features/compose.js
|
|
- features/home_timeline.js
|
|
- features/notifications.js
|
|
|
|
# (OPTIONAL) The directory which contains localization files for
|
|
# the flavour, relative to this directory.
|
|
locales: ../../mastodon/locales
|
|
|
|
# (OPTIONAL) A file to use as the preview screenshot for the flavour,
|
|
# or an array thereof. These are the full path from `app/javascript/`.
|
|
screenshot: images/screenshot.png
|