mirror of https://github.com/halo-dev/halo
feat: add favicon to login page (#7288)
#### What type of PR is this? /area core /kind improvement /milestone 2.20.x #### What this PR does / why we need it: Add favicon to login page #### Which issue(s) this PR fixes: Fixes #7287 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 为登录相关的页面添加 Favicon ```pull/7290/head
parent
6e6bb42778
commit
30c97d8ea6
|
@ -12,6 +12,7 @@
|
||||||
<title th:text="${title}"></title>
|
<title th:text="${title}"></title>
|
||||||
<link rel="preload" href="/images/wordmark.svg" as="image" type="image/svg+xml" />
|
<link rel="preload" href="/images/wordmark.svg" as="image" type="image/svg+xml" />
|
||||||
<link rel="preload" href="/images/logo.png" as="image" type="image/png" />
|
<link rel="preload" href="/images/logo.png" as="image" type="image/png" />
|
||||||
|
<link th:unless="${#strings.isEmpty(site.favicon)}" rel="icon" th:href="${site.favicon}" />
|
||||||
|
|
||||||
<th:block th:replace="~{gateway_fragments/common::basicStaticResources}"></th:block>
|
<th:block th:replace="~{gateway_fragments/common::basicStaticResources}"></th:block>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue