diff --git a/app/admin/forms.py b/app/admin/forms.py index c8a4c503..62cf3105 100644 --- a/app/admin/forms.py +++ b/app/admin/forms.py @@ -81,7 +81,7 @@ class EditCommunityForm(FlaskForm): ('masonry', _l('Masonry')), ('masonry_wide', _l('Wide masonry'))] default_layout = SelectField(_l('Layout'), coerce=str, choices=layouts, validators=[Optional()]) - posting_warning = StringField(_('Posting warning')) + posting_warning = StringField(_('Posting warning'), validators=[Optional(), Length(min=3, max=512)]) submit = SubmitField(_l('Save')) def validate(self, extra_validators=None): diff --git a/app/templates/base.html b/app/templates/base.html index 37a58779..3f93f2d4 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -244,8 +244,9 @@ {% else %}

Donate with Liberapay

{% endif %} -

{{ _('Keyboard shortcuts') }}

Donate with Patreon

+

{{ _('About') }}

+

{{ _('Keyboard shortcuts') }}

PieFed is free and open source.
Please report bugs or get involved.

Privacy policy

diff --git a/app/templates/robots.txt b/app/templates/robots.txt index 47d45da5..28da817a 100644 --- a/app/templates/robots.txt +++ b/app/templates/robots.txt @@ -27,3 +27,7 @@ Disallow: / User-agent: SeznamBot Disallow: / + +User-agent: DataForSeoBot +Disallow: / +