mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
fix(logo): 修复指定logo时500错误问题
This commit is contained in:
parent
bb9dbf06a6
commit
4266eecafa
@ -6,7 +6,7 @@
|
|||||||
<th:block th:if="${#strings.isEmpty(site.logo)}" th:text="${site.title}"/>
|
<th:block th:if="${#strings.isEmpty(site.logo)}" th:text="${site.title}"/>
|
||||||
<th:block th:unless="${#strings.isEmpty(site.logo)}">
|
<th:block th:unless="${#strings.isEmpty(site.logo)}">
|
||||||
<img class="logo-img" th:src="${site.logo}" th:alt="${site.title}" height="28">
|
<img class="logo-img" th:src="${site.logo}" th:alt="${site.title}" height="28">
|
||||||
<img class="logo-img-dark" th:src="${#strings.defaultString(theme.config.basic_info.night_logo, ${site.logo})}" th:alt="${site.title}" height="28">
|
<img class="logo-img-dark" th:src="${#strings.defaultString(theme.config.basic_info.night_logo, site.logo)}" th:alt="${site.title}" height="28">
|
||||||
</th:block>
|
</th:block>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<th:block th:if="${#strings.isEmpty(site.logo)}" th:text="${site.title}"/>
|
<th:block th:if="${#strings.isEmpty(site.logo)}" th:text="${site.title}"/>
|
||||||
<th:block th:unless="${#strings.isEmpty(site.logo)}">
|
<th:block th:unless="${#strings.isEmpty(site.logo)}">
|
||||||
<img class="logo-img" th:src="${site.logo}" th:alt="${site.title}" height="28">
|
<img class="logo-img" th:src="${site.logo}" th:alt="${site.title}" height="28">
|
||||||
<img class="logo-img-dark" th:src="${#strings.defaultString(theme.config.basic_info.night_logo, ${site.logo})}" th:alt="${site.title}" height="28">
|
<img class="logo-img-dark" th:src="${#strings.defaultString(theme.config.basic_info.night_logo, site.logo)}" th:alt="${site.title}" height="28">
|
||||||
</th:block>
|
</th:block>
|
||||||
</a>
|
</a>
|
||||||
<nav class="navbar-nav active-animate">
|
<nav class="navbar-nav active-animate">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user