mirror of
https://github.com/halo-dev/theme-earth.git
synced 2026-01-13 07:03:50 +08:00
* Optimize settings form and remove deprecated options * Update required version to 2.22.0 in theme.yaml The minimum required version for this theme has been updated from 2.20.0 to 2.22.0 to ensure compatibility with newer dependencies or features. * Update icon rendering to use icon.value property
13 lines
483 B
HTML
13 lines
483 B
HTML
<aside th:fragment="sidebar (prepend)" class="z-0 hidden w-72 flex-col gap-6 md:flex">
|
|
<th:block th:with="widgets = ${theme.config.sidebar.widgets} ">
|
|
<th:block th:if="${prepend != null}">
|
|
<th:block th:replace="${prepend}" />
|
|
</th:block>
|
|
<th:block th:each="widget : ${widgets}">
|
|
<th:block th:with="options = ${widget.options}">
|
|
<th:block th:replace="~{'modules/widgets/'+${widget.value}}" />
|
|
</th:block>
|
|
</th:block>
|
|
</th:block>
|
|
</aside>
|