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}">
|
2024-04-28 21:06:18 +08:00
|
|
|
<th:block th:replace="~{${'/widget/' + sidebar.type} :: widget ( sidebar = ${sidebar})}" />
|
2023-03-22 14:57:52 +08:00
|
|
|
</th:block>
|
|
|
|
</th:block>
|
2023-03-22 14:19:49 +08:00
|
|
|
</aside>
|