2023-03-22 14:19:49 +08:00
|
|
|
<aside xmlns:th="https://www.thymeleaf.org"
|
|
|
|
th:fragment="widget (position)"
|
2023-03-23 18:25:48 +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'">
|
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}">
|
2023-03-23 18:25:48 +08:00
|
|
|
<th:block th:replace="~{${'/widget/' + sidebar.type} :: widget ( hide = ${sidebar.hide})}" />
|
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>
|