From 41ac5b79989eb56f2ba4df49127a8641f2105795 Mon Sep 17 00:00:00 2001 From: rohow Date: Thu, 22 Aug 2024 18:32:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20=E5=A2=9E=E5=8A=A0favicon?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme-terminal/settings.yaml | 6 ++++++ theme-terminal/templates/modules/layout.html | 1 + 2 files changed, 7 insertions(+) diff --git a/theme-terminal/settings.yaml b/theme-terminal/settings.yaml index 3a16f67..87fc258 100644 --- a/theme-terminal/settings.yaml +++ b/theme-terminal/settings.yaml @@ -11,6 +11,12 @@ spec: name: pixel_style label: 像素化风格 help: 开启后,将使用像素风格字体及图标。 + - $formkit: attachment + name: favicon + label: favicon图片链接 + accepts: + - "image/png" + - "image/x-icon" - $formkit: attachment name: logo label: logo图片链接 diff --git a/theme-terminal/templates/modules/layout.html b/theme-terminal/templates/modules/layout.html index ae3de1e..37d0256 100644 --- a/theme-terminal/templates/modules/layout.html +++ b/theme-terminal/templates/modules/layout.html @@ -4,6 +4,7 @@ +