update. 完成分页显示,清理部分冗余代码

This commit is contained in:
2026-04-01 20:49:04 +08:00
parent 414dc0ee95
commit 43f4bd0165
4 changed files with 198 additions and 324 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<!-- 新闻中心 -->
<li class="{% if menu.code in request.path %}active{% endif %}">
<a href="{% url 'front:menu' main=menu.code %}">{{ menu.title }}</a>
<a href="{% url 'front:section' main=menu.code %}">{{ menu.title }}</a>
</li>
{% endfor %}