{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} %} {% from 'bootstrap/form.html' import render_form, render_field %} {% set active_child = 'admin_federation' %} {% block app_content %}
Import / Export Bans
JSON format:
{
"banned_instances": ["banned1.social", "banned2.social"],
"allowed_instances": ["allowed1.social", "allowed2.social"],
"banned_domains": ["banned3.social"],
"banned_tags": [{"name":"badtag","display_as":"BaDtAg"},{...}],
"banned_users": ["baduser@banned4.social"]
}
Note: only one of "banned_instances" or "allowed_instances" will be populated.
{{ render_form(ban_lists_form) }}Use this to "pre-load" known threadiverse communities, as ranked by posts and activity. The list of communities pulls from the same list as LemmyVerse. NSFW communities and communities from banned instances are excluded.
{% if current_app_debug %}*** This instance is in development mode. Loading more than 6 communities here could cause timeouts, depending on how your networking is setup. ***
{% endif %} {{ render_form(preload_form) }}