add link to about page in footer #139

This commit is contained in:
rimu 2024-04-19 08:34:41 +12:00
parent bc4c97995e
commit dff6fc31e7
3 changed files with 7 additions and 2 deletions

View file

@ -81,7 +81,7 @@ class EditCommunityForm(FlaskForm):
('masonry', _l('Masonry')), ('masonry', _l('Masonry')),
('masonry_wide', _l('Wide masonry'))] ('masonry_wide', _l('Wide masonry'))]
default_layout = SelectField(_l('Layout'), coerce=str, choices=layouts, validators=[Optional()]) 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')) submit = SubmitField(_l('Save'))
def validate(self, extra_validators=None): def validate(self, extra_validators=None):

View file

@ -244,8 +244,9 @@
{% else %} {% else %}
<p class="text-center mt-4"><a href="https://liberapay.com/PieFed/donate">Donate with Liberapay</a></p> <p class="text-center mt-4"><a href="https://liberapay.com/PieFed/donate">Donate with Liberapay</a></p>
{% endif %} {% endif %}
<p class="text-center"><a href="/keyboard_shortcuts">{{ _('Keyboard shortcuts') }}</a></p>
<p class="text-center"><a href="https://patreon.com/PieFed">Donate with Patreon</a></p> <p class="text-center"><a href="https://patreon.com/PieFed">Donate with Patreon</a></p>
<p class="text-center"><a href="/about">{{ _('About') }}</a></p>
<p class="text-center"><a href="/keyboard_shortcuts">{{ _('Keyboard shortcuts') }}</a></p>
<p class="text-center"><a href="https://codeberg.org/rimu/pyfedi">PieFed is free and open source</a>.<br />Please <a href="https://codeberg.org/rimu/pyfedi/issues">report bugs</a> or <a href="https://join.piefed.social/get-involved/">get involved</a>.</p> <p class="text-center"><a href="https://codeberg.org/rimu/pyfedi">PieFed is free and open source</a>.<br />Please <a href="https://codeberg.org/rimu/pyfedi/issues">report bugs</a> or <a href="https://join.piefed.social/get-involved/">get involved</a>.</p>
<p class="text-center"><a href="/privacy">Privacy policy</a></p> <p class="text-center"><a href="/privacy">Privacy policy</a></p>
</footer> </footer>

View file

@ -27,3 +27,7 @@ Disallow: /
User-agent: SeznamBot User-agent: SeznamBot
Disallow: / Disallow: /
User-agent: DataForSeoBot
Disallow: /