fix rendering of misskey instances in template

This commit is contained in:
Johann150 2021-11-11 10:44:06 +01:00
parent 37652e4053
commit 77a2687d9e
No known key found for this signature in database
GPG Key ID: 9EE6577A2A06F8F1
1 changed files with 4 additions and 2 deletions

View File

@ -37,10 +37,12 @@ def index():
@app.route('/about/') @app.route('/about/')
def about(): def about():
instances = libforget.mastodon.suggested_instances() mastodon_instances = libforget.mastodon.suggested_instances()
misskey_instances = libforget.misskey.suggested_instances()
return render_template( return render_template(
'about.html', 'about.html',
mastodon_instances=instances, mastodon_instances=mastodon_instances,
misskey_instances=misskey_instances,
twitter_login_error='twitter_login_error' in request.args) twitter_login_error='twitter_login_error' in request.args)