diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-19 08:52:37 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-19 08:52:37 +0000 |
| commit | 4ebfc011fc5cb24dab9aa187372579ebbadb6cd2 (patch) | |
| tree | 85e4af4ce66a8bf3f09bb032a0222494d9e1bfba /config | |
| parent | ca1b18ba2df38970582f64e0fed9147a5bfff43e (diff) | |
| parent | 2a58596aef655bb5e347cbb12290700f35ad64e5 (diff) | |
| download | pleroma-4ebfc011fc5cb24dab9aa187372579ebbadb6cd2.tar.gz pleroma-4ebfc011fc5cb24dab9aa187372579ebbadb6cd2.zip | |
Merge branch 'favicon' into 'develop'
Make favicon configurable, embed favicon and manifest in server-generated meta
See merge request pleroma/pleroma!3963
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 3 | ||||
| -rw-r--r-- | config/description.exs | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index f2c137872..247e1f25a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -171,6 +171,7 @@ config :pleroma, :instance, short_description: "", background_image: "/images/city.jpg", instance_thumbnail: "/instance/thumbnail.jpeg", + favicon: "/favicon.png", limit: 5_000, description_limit: 5_000, remote_limit: 100_000, @@ -346,6 +347,8 @@ config :pleroma, :manifest, icons: [ %{ src: "/static/logo.svg", + sizes: "144x144", + purpose: "any", type: "image/svg+xml" } ], diff --git a/config/description.exs b/config/description.exs index b152981c4..27e7f7e9b 100644 --- a/config/description.exs +++ b/config/description.exs @@ -988,6 +988,12 @@ config :pleroma, :config_description, [ suggestions: ["/instance/thumbnail.jpeg"] }, %{ + key: :favicon, + type: {:string, :image}, + description: "Favicon of the instance", + suggestions: ["/favicon.png"] + }, + %{ key: :show_reactions, type: :boolean, description: "Let favourites and emoji reactions be viewed through the API." |
