diff --git a/app/agora.py b/app/agora.py index c07079b..4b7461e 100644 --- a/app/agora.py +++ b/app/agora.py @@ -35,6 +35,7 @@ def help(): current_app.logger.warning('Not implemented.') return 'If I had implemented help already, here you\'d see documentation on all URL endpoints. For now, please refer to the code.' +@bp.route('/Δ') @bp.route('/latest') def latest(): return render_template('subnodes.html', header="Latest", subnodes=db.latest()) @@ -164,6 +165,7 @@ def nodes(): def subnodes(): return render_template('subnodes.html', subnodes=G.subnodes()) +@bp.route('/@') @bp.route('/users') def users(): return render_template('users.html', users=db.all_users()) diff --git a/app/templates/subnodes.html b/app/templates/subnodes.html index 3a77bf7..196b073 100644 --- a/app/templates/subnodes.html +++ b/app/templates/subnodes.html @@ -30,7 +30,7 @@ Go back to /nodes? {% endif %} {% for subnode in subnodes %} -@{{subnode.user}} noded {{subnode.wikilink}}.
+[[{{subnode.wikilink}}]] by @{{subnode.user}}
{% endfor %}