mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
10 lines
611 B
HTML
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> |