Document.

This commit is contained in:
Flancian 2021-01-24 19:34:23 +01:00
parent dbf3a87aee
commit 3aec1ade92
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ def old_subnode(subnode):
@bp.route('/u/<user>')
@bp.route('/user/<user>')
@bp.route('/node/@<user>') # so that [[@flancian]] works.
@bp.route('/@<user>')
def user(user):
return render_template('user.html', user=user, readmes=db.user_readmes(user), subnodes=db.subnodes_by_user(user))