update. 完成分页显示,清理部分冗余代码
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user