From 28f6d09cbdd52f292799b135404d6cf71bf79cf0 Mon Sep 17 00:00:00 2001 From: John Xina <bingchilling@riseup.net> Date: Mon, 19 Feb 2024 22:59:14 +0800 Subject: [PATCH] fix broken link due to bad href --- templates/thread.html | 2 +- templates/thread.html.text | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/thread.html b/templates/thread.html index 0c2e0fa..6554015 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -68,7 +68,7 @@ <div class="paginator"> {% if info.page.current_page > 1 %} - <a href="/p/{{ info.thread.tid }}&ao={{ao}}">首页</a> + <a href="/p/{{ info.thread.tid }}?ao={{ao}}">首页</a> {% endif %} {% for i in range(5) %} diff --git a/templates/thread.html.text b/templates/thread.html.text index 5a78c4c..5e912dc 100644 --- a/templates/thread.html.text +++ b/templates/thread.html.text @@ -21,7 +21,7 @@ {% if p.comments %}{{ '\n' + p.comments|tcomments }}{% endif %}</pre> {% endfor %} <pre>------------------------------------------------------------------------</pre> - <a href="/p/{{ info.thread.tid }}&ao={{ao}}">首页</a> | + <a href="/p/{{ info.thread.tid }}?ao={{ao}}">首页</a> | {% for i in range(5) %} {% set np = info.page.current_page - 5 + i %} -- GitLab