From 65d8e6f776f4e58f0d3e766c68de27a0e30211dd Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sat, 2 Jan 2021 17:52:13 +0100 Subject: [PATCH] s/jump/q/ --- app/agora.py | 6 +++--- app/templates/base.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/agora.py b/app/agora.py index 402d708..7e8a376 100644 --- a/app/agora.py +++ b/app/agora.py @@ -106,9 +106,9 @@ def pull(node): @bp.route('/jump') def jump(): - """Redirects to the right node.""" - jump = request.args.get('jump') - return redirect(url_for('.node', node=slugify(jump))) + """Redirects to a context; in "jump" mode, a node *always* exists (nodes map one to one to all possible queries).""" + q = request.args.get('q') + return redirect(url_for('.node', node=slugify(q))) # Entities @bp.route('/wikilink/') diff --git a/app/templates/base.html b/app/templates/base.html index 446838c..eb8ec13 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -44,7 +44,7 @@ | nodes | @ - |
jump:
+ |
jump:
| 🌙