diff --git a/templates/config.exs.j2 b/templates/config.exs.j2 index f59eb0a..eae6eed 100644 --- a/templates/config.exs.j2 +++ b/templates/config.exs.j2 @@ -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 %} \ No newline at end of file