feat(theme): logo配置功能提交

这个提交包含在:
2024-08-22 15:39:06 +08:00 未验证
父节点 026ed1f3c9
当前提交 4c76b9d076
修改 7 个文件,包含 44 行新增29 行删除
+6 -6
查看文件
@@ -1,11 +1,11 @@
<header class="header">
<header class="header" xmlns:th="http://www.w3.org/1999/xhtml">
<div th:fragment="header" th:with="menu = ${menuFinder.getPrimary()}">
<div class="header__inner">
<div class="header__logo">
<a href="/" style="text-decoration: none">
<div class="logo" th:text="${site.title}">Blog Title</div>
</a>
</div>
<a class="logo" href="/" style="text-decoration: none">
<img class="icon" th:if="${not #strings.isEmpty(theme.config.basic.logo)}" th:src="${theme.config.basic.logo}" alt="Logo" />
<div class="text" th:if="${not #strings.isEmpty(theme.config.basic.title)}" th:text="${theme.config.basic.title}"></div>
</a>
<div class="dividing"></div>
<button
id="search-button"
type="button"