<!-- 左侧边栏 -->
<div class="left_nav uk-width-1-3@m uk-visible@m"
    th:if="${theme.config.style.layout_set!='mod_single'}">
    <div class="left_nav_inner">
        <div uk-sticky="offset: 0;">
            <div class="top_logo">
                <a href="/"> <img th:src="${theme.config.base_top_set.site_logo}"
                        th:style="${'height:'+theme.config.base_top_set.logo_height+'px'}"></a>
            </div>
            <div class="top_logo close_bar">
                <a href="/"> <img th:src="${theme.config.base_top_set.m_site_logo}"></a>
            </div>

            <div class="left_menu_box">
                <div class="menu-%e4%be%a7%e6%a0%8f-container"
                    th:with="leftMenuName = ${theme.config.base_set.left_nav}">
                    <ul id="left_menu" class="menu"
                        th:with="leftMenu = ${#strings.isEmpty(leftMenuName) ? menuFinder.getPrimary() : menuFinder.getByName(leftMenuName)}">
                        <th:block
                                th:each="menuItem,iterStat : ${#lists.isEmpty(leftMenu) ? menuFinder.getPrimary().menuItems :  leftMenu.menuItems}">
                            <li th:id="${'menu-item-'+iterStat.index}"
                                th:unless="${not #lists.isEmpty(menuItem.children)}"
                                class="menu-item menu-item-type-post_type menu-item-object-page "
                                th:classappend="${'menu-item-'+iterStat.index}">
                                <a th:target="${menuItem.spec.target?.value}" th:href="@{${menuItem.status.href}}"
                                   th:with="icon = ${#annotations.getOrDefault(menuItem, 'icon', '')}">
                                    <th:block th:if="${not #strings.isEmpty(icon)}"
                                              th:with="index = ${icon.lastIndexOf('.')}">
                                        <i th:unless="${index!=-1}" th:class="${icon}"></i>
                                        <img th:if="${index!=-1}" th:src="${icon}">
                                    </th:block>

                                    <span class="nav_title">[[${menuItem.status.displayName}]]</span>
                                </a>
                            </li>
                            <li th:id="${'menu-item-'+iterStat.index}" th:if="${not #lists.isEmpty(menuItem.children)}"
                                class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children has_children"
                                th:classappend="${'menu-item-'+iterStat.index}">
                                <a href="#" th:with="icon = ${#annotations.getOrDefault(menuItem, 'icon', '')}">
                                    <th:block th:if="${not #strings.isEmpty(icon)}"
                                              th:with="index = ${icon.lastIndexOf('.')}">
                                        <i th:unless="${index!=-1}" th:class="${icon}"></i>
                                        <img th:if="${index!=-1}" th:src="${icon}">
                                    </th:block>
                                    <span class="nav_title">[[${menuItem.status.displayName}]]</span>
                                    <i class="ri-arrow-down-s-line drop_icon"></i>
                                </a>
                                <ul class="sub-menu">
                                    <li th:each="childMenu,iterStat : ${menuItem.children}"
                                        th:id="${'menu-item-'+iterStat.index}"
                                        class="menu-item menu-item-type-custom menu-item-object-custom"
                                        th:classappend="${'menu-item-'+iterStat.index}">
                                        <a th:href="@{${childMenu.status.href}}"
                                           th:with="icon = ${#annotations.getOrDefault(childMenu, 'icon', '')}"
                                           th:target="${childMenu.spec.target?.value}">
                                            <th:block th:if="${not #strings.isEmpty(icon)}"
                                                      th:with="index = ${icon.lastIndexOf('.')}">
                                                <i th:unless="${index!=-1}" th:class="${icon}"></i>
                                                <img th:if="${index!=-1}" th:src="${icon}">
                                            </th:block>
                                            <span class="nav_title">[[${childMenu.status.displayName}]]</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </th:block>
                    </ul>
                </div>
            </div>

            <div class="sidebar">
                <div class="widget_inner sidebar_inner">
                    <th:block th:replace="~{modules/widgets/aside :: aside(${theme.config.sidebar.sidebar_left})}">
                    </th:block>
                </div>
            </div>


        </div>
        <div class="uk-sticky-placeholder" hidden="" style="height: 694px; width: 295px; margin: 0px;">
        </div>

    </div>
</div>