12 lines
704 B
HTML
Raw Normal View History

2023-03-22 14:19:49 +08:00
<aside xmlns:th="https://www.thymeleaf.org"
th:fragment="widget (position)"
2024-05-17 08:49:17 +08:00
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'">
2023-03-22 14:57:52 +08:00
<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})}" />
2023-03-22 14:57:52 +08:00
</th:block>
</th:block>
<div th:if="${position == 'left'}" class="column-right-shadow is-hidden-desktop">
</div>
2023-03-22 14:19:49 +08:00
</aside>