Special case user page.

This commit is contained in:
Flancian 2020-11-16 21:18:04 +01:00
parent 25c554fe92
commit 78ef6e5a2f

View file

@ -56,7 +56,7 @@ def today():
@bp.route('/user/<user>') @bp.route('/user/<user>')
@bp.route('/@<user>') @bp.route('/@<user>')
def user(user): def user(user):
return render_template('subnodes.html', subnodes=db.subnodes_by_user(user)) return render_template('user.html', user=user, subnodes=db.subnodes_by_user(user))
@bp.route('/garden/<garden>') @bp.route('/garden/<garden>')
def garden(garden): def garden(garden):