refactor: adapt theme to Halo 2.26.0 standards

This commit is contained in:
Erzbir
2026-08-17 01:36:51 +08:00
parent 6771c2a90d
commit fc5f5cc617
17 changed files with 71 additions and 22 deletions
+4 -1
View File
@@ -1,8 +1,11 @@
<!DOCTYPE html>
<html
xmlns:th="https://www.thymeleaf.org"
th:replace="~{modules/layout :: html(title = ${site.title}, header = null, content = ~{::content}, footer = null)}"
th:replace="~{layout :: html(head = ~{::head}, content = ~{::content})}"
>
<th:block th:fragment="head">
<title th:text="${site.title}">Site title</title>
</th:block>
<th:block th:fragment="content">
<section class="index-content framed"
th:if="${not #strings.isEmpty(theme.config.index_page.notice_title) and not #strings.isEmpty(theme.config.index_page.notice_content)}">