summaryrefslogtreecommitdiff
path: root/config/description.exs
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/description.exs
parentd7c53da77adfcfc5cf1fd83dd0671b9de8147e15 (diff)
downloadpleroma-fbf9eced11e57e9b95fec23791efb7666480a6c1.tar.gz
pleroma-fbf9eced11e57e9b95fec23791efb7666480a6c1.zip
Add short_description field
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs9
1 files changed, 9 insertions, 0 deletions
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)",