summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2022-03-29 14:01:03 +0200
committermarcin mikołajczak <git@mkljczk.pl>2022-03-29 14:04:27 +0200
commitfbf9eced11e57e9b95fec23791efb7666480a6c1 (patch)
treec9275ba5be522c5e62193ae98eca4242cabce86d /config
parentd7c53da77adfcfc5cf1fd83dd0671b9de8147e15 (diff)
Add short_description field
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'config')
-rw-r--r--config/config.exs1
-rw-r--r--config/description.exs9
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 704af8f68..06b0182cd 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)",