2025-03-08 07:02:44 +08:00

10 lines
611 B
HTML

<aside xmlns:th="https://www.thymeleaf.org"
th:fragment="widget (position)"
th:class="'column column-side column-' + ${position} + ' ' + ${position == 'left'?theme.config.basic_style.left_sidebar_sticky:theme.config.basic_style.right_sidebar_sticky} + '-sticky'"
th:classappend="${theme.config.basic_info.header_fixed}? 'fixed'">
<th:block th:each="sidebar :${theme.config.sidebar.sidebar_show}">
<th:block th:if="${sidebar.position == position}">
<th:block th:replace="~{${'/widget/' + sidebar.type} :: widget ( sidebar = ${sidebar})}" />
</th:block>
</th:block>
</aside>