feat(theme): 增加favicon配置
这个提交包含在:
@@ -11,6 +11,12 @@ spec:
|
|||||||
name: pixel_style
|
name: pixel_style
|
||||||
label: 像素化风格
|
label: 像素化风格
|
||||||
help: 开启后,将使用像素风格字体及图标。
|
help: 开启后,将使用像素风格字体及图标。
|
||||||
|
- $formkit: attachment
|
||||||
|
name: favicon
|
||||||
|
label: favicon图片链接
|
||||||
|
accepts:
|
||||||
|
- "image/png"
|
||||||
|
- "image/x-icon"
|
||||||
- $formkit: attachment
|
- $formkit: attachment
|
||||||
name: logo
|
name: logo
|
||||||
label: logo图片链接
|
label: logo图片链接
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<link rel="icon" type="image/x-icon" th:href="${theme.config.basic.favicon}">
|
||||||
<title th:text="${site.title}"></title>
|
<title th:text="${site.title}"></title>
|
||||||
<link rel="stylesheet" th:href="@{/assets/dist/style.css?version=v1.0.1}" href="./assets/dist/style.css" />
|
<link rel="stylesheet" th:href="@{/assets/dist/style.css?version=v1.0.1}" href="./assets/dist/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户