add vars for mangane in config.exs.j2

This commit is contained in:
meaz 2023-11-25 23:37:26 +01:00
parent 3a94f8f3c6
commit 4b461f20e8
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 71 additions and 0 deletions

View File

@ -129,3 +129,74 @@ config :pleroma, :mrf_simple,
{% endfor %}
{% endif %}
{% endif %}
{% for item in pleroma_frontends %}
{% if item.name == "mangane" %}
config :pleroma, :frontend_configurations,
soapbox_fe: %{
verifiedIcon: "",
authenticatedProfile: {{ mangane_authenticatedProfile }},
linkFooterMessage: "", # this adds a message in the irght column once logged
homeDescription: "{{ mangane_homeDescription }}",
appleAppId: nil,
authProvider: "",
customCss: [],
gdprUrl: "",
customRegUrl: "",
cryptoDonatePanel: %{
limit: 1
},
singleUserModeProfile: "",
extensions: %{},
verifiedCanEditName: false,
quotePosts: true,
singleUserMode: {{ mangane_singleUserMode }},
brandColor: "{{ mangane_brandColor }}",
links: %{},
ads: [],
customRegProvider: "",
banner: "",
defaultSettings: %{},
aboutPages: %{},
navlinks: %{
homeFooter: [
{% for item in mangane_navlinks %}
%{
title: "{{ item.title }}",
url: "{{ item.url }}"
}{% if not loop.last %},
{% endif %}
{% endfor %}
]
},
promoPanel: %{
items: []
},
greentext: false,
allowedEmoji: [
"👍",
"❤️",
"😆",
"😮",
"😢",
"😩",
"👍",
"❤️",
"😆",
"😮",
"😢",
"😩"
],
accentColor: "{{ mangane_accentColor }}",
colors: %{},
logo: "/static/logo.svg",
{% set current_year = now().year %} # Allows to set the current year in copyright!
copyright: "🕶 {{ current_year|string }}. {{ mangane_copyright }}",
logoDarkMode: nil,
cryptoAddresses: [],
displayFqn: true,
mobilePages: %{},
gdpr: false
}
{% endif %}
{% endfor %}