mirror of
https://github.com/halo-dev/theme-earth.git
synced 2026-01-13 07:03:50 +08:00
refactor: use repleater input type to define social_media
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<aside th:fragment="sidebar (prepend)" class="col-span-1 hidden h-full flex-col gap-6 sm:flex">
|
||||
<th:block th:with="widgets = ${#strings.listSplit(theme.config.sidebar.widgets,',')} ">
|
||||
<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:replace="~{'modules/widgets/'+${widget}}" />
|
||||
<th:block th:replace="~{'modules/widgets/'+${widget.value}}" />
|
||||
</th:block>
|
||||
</th:block>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user