INSIGHT & DETAIL

深度解读行业趋势与实践

深度解读行业趋势与技术实践,为企业数字化转型提供参考。

安企CMS技术
当前位置 首页 / 安企CMS技术

开源CMS(安企AnqiCMS):默认企业网站模板,菜单上不想要 多级菜单导航,删除方法

安企CMS:默认企业模板,菜单上不想要 多级菜单导航,删除方法
不想要下面这个效果的,如图:

wechat_2025-04-26_215838_325

删除base.html 大约57-65行 之间的代码 如下

 {% archiveList products with type="list" categoryId=inner.PageId limit="8" %}
                                    {% if products %}
                                    <ul class="nav-menu-child-child">
                                        {% for item in products %}
                                        <li><a href="{{item.Link}}">{{item.Title}}</a></li>
                                        {% endfor %}
                                    </ul>
                                    {% endif %}
                                    {% endarchiveList %}

d7e9eac54fb19011