diff options
author | tusooa <tusooa@kazv.moe> | 2022-07-13 04:42:24 +0000 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2022-07-13 04:42:24 +0000 |
commit | fdc71f6051bb5bcb4b7a00213540ffb1627441ab (patch) | |
tree | 57fa6b7ff6d1dc5192ece60a25d1ebb7d04c468e /config | |
parent | 311fda32f323419141f55be19f419a796e9375d3 (diff) | |
parent | eb2a1652bf3676de955a2912a42d50aa068131fa (diff) | |
download | pleroma-fdc71f6051bb5bcb4b7a00213540ffb1627441ab.tar.gz |
Merge branch 'short-description' into 'develop'
Add short_description instance field
Closes #2865
See merge request pleroma/pleroma!3651
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 1 | ||||
-rw-r--r-- | config/description.exs | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 6a5acda09..0fc959807 100644 --- a/config/config.exs +++ b/config/config.exs @@ -187,6 +187,7 @@ config :pleroma, :instance, email: "example@example.com", notify_email: "noreply@example.com", description: "Pleroma: An efficient and flexible fediverse server", + short_description: "", background_image: "/images/city.jpg", instance_thumbnail: "/instance/thumbnail.jpeg", limit: 5_000, diff --git a/config/description.exs b/config/description.exs index 7caad18b4..b29348edf 100644 --- a/config/description.exs +++ b/config/description.exs @@ -537,6 +537,15 @@ config :pleroma, :config_description, [ ] }, %{ + key: :short_description, + type: :string, + description: + "Shorter version of instance description. It can be seen on `/api/v1/instance`", + suggestions: [ + "Cool instance" + ] + }, + %{ key: :limit, type: :integer, description: "Posts character limit (CW/Subject included in the counter)", |