Allow ToS panel to be configurable

This commit is contained in:
Pleromian 2025-02-04 16:18:08 +00:00 committed by Pleroma User
parent 1775a4db08
commit 7a0ad8f29c
2 changed files with 6 additions and 0 deletions

View file

@ -174,6 +174,7 @@ config :pleroma, :instance,
short_description: "",
background_image: "/images/city.jpg",
instance_thumbnail: "/instance/thumbnail.jpeg",
embedded_terms: true,
favicon: "/favicon.png",
limit: 5_000,
description_limit: 5_000,

View file

@ -1057,6 +1057,11 @@ config :pleroma, :config_description, [
description: "Favicon of the instance",
suggestions: ["/favicon.png"]
},
%{
key: :embedded_terms,
type: :boolean,
description: "Embed Terms of Service panel on About and Registration pages",
},
%{
key: :show_reactions,
type: :boolean,