fix broken link due to bad href

This commit is contained in:
John Xina 2024-02-19 22:59:14 +08:00
parent f2d6ec3169
commit 28f6d09cbd
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@
<div class="paginator"> <div class="paginator">
{% if info.page.current_page > 1 %} {% 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 %} {% endif %}
{% for i in range(5) %} {% for i in range(5) %}

View File

@ -21,7 +21,7 @@
{% if p.comments %}{{ '\n' + p.comments|tcomments }}{% endif %}</pre> {% if p.comments %}{{ '\n' + p.comments|tcomments }}{% endif %}</pre>
{% endfor %} {% endfor %}
<pre>------------------------------------------------------------------------</pre> <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) %} {% for i in range(5) %}
{% set np = info.page.current_page - 5 + i %} {% set np = info.page.current_page - 5 + i %}