From 7fca10f16687c16e6af31b56f7dcab2abd6c06bf Mon Sep 17 00:00:00 2001 From: jiewenhuang Date: Thu, 28 Sep 2023 10:56:00 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=E5=BD=92=E6=A1=A3=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modules/link.html b/templates/modules/link.html index 3adab94..70809b6 100644 --- a/templates/modules/link.html +++ b/templates/modules/link.html @@ -67,7 +67,7 @@ - + From 845470155e5ebd2a6f490d7d7e22fa7de59d8ef6 Mon Sep 17 00:00:00 2001 From: jiewenhuang Date: Sat, 30 Sep 2023 21:52:31 +0800 Subject: [PATCH 2/4] =?UTF-8?q?update:=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 9 ++-- templates/archives.html | 4 +- templates/modules/config.html | 13 +++-- templates/modules/postMetaVariable.html | 1 - templates/photos.html | 67 ++++++++++++------------- 5 files changed, 50 insertions(+), 44 deletions(-) diff --git a/settings.yaml b/settings.yaml index 1558906..fbdaac1 100644 --- a/settings.yaml +++ b/settings.yaml @@ -2383,31 +2383,34 @@ spec: label: 外部CSS链接 value: "" help: "填入外部CSS链接,无需link标签,将插入head标签尾部" - - $formkit: textarea + - $formkit: code name: custom_css label: 自定义CSS value: "" help: "填入CSS代码,无需style标签,将插入head标签尾部" + language: css - $formkit: text name: custom_external_js_head label: 外部JS链接(head) value: "" help: "填入外部JS链接,需要script标签,可按情况指定async和defer属性,将插入head标签尾部" - - $formkit: textarea + - $formkit: code name: custom_js_head label: 自定义JS(head) value: "" help: "填入JS代码,无需script标签,将插入head标签尾部" + language: javascript - $formkit: text name: custom_external_js_body label: 外部JS链接(body) value: "" help: "填入外部JS链接,无需script标签,将插入body标签尾部(可用于添加插件等)" - - $formkit: textarea + - $formkit: code name: custom_js_body label: 自定义JS(body) value: "" help: "填入JS代码,无需script标签,将插入body标签尾部" + language: javascript - $formkit: radio name: show_loaded_time label: 控制台输出页面加载耗时 diff --git a/templates/archives.html b/templates/archives.html index 823a646..6e0a5dd 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -29,10 +29,10 @@
- 时间轴[[${'('+theme.config.archives.archives_timeline_metric == 'month' ? '月':'年'+')'}]] + 时间轴([[${theme.config.archives.archives_timeline_metric == 'month' ? '月':'年'}]]) - 列表 + 列表
diff --git a/templates/modules/config.html b/templates/modules/config.html index 72a7227..aa754f2 100644 --- a/templates/modules/config.html +++ b/templates/modules/config.html @@ -28,10 +28,15 @@ \ No newline at end of file diff --git a/templates/photos.html b/templates/photos.html index 326fd4b..79cc4e2 100644 --- a/templates/photos.html +++ b/templates/photos.html @@ -12,46 +12,45 @@
 [[${theme.config.photos.photos_title?:'我的图库'}]] -
-
+ + +
+ +
+
+
+ +
+
+
+ - - - -
-
-
-
- - - - - -
-
-
-
- - - - - - - + + + From 264245ef994ec972c09695514568895a5b929b2f Mon Sep 17 00:00:00 2001 From: jiewenhuang Date: Sat, 30 Sep 2023 22:39:44 +0800 Subject: [PATCH 3/4] =?UTF-8?q?update:=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/common/blogger.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modules/common/blogger.html b/templates/modules/common/blogger.html index 497d928..0868fc3 100644 --- a/templates/modules/common/blogger.html +++ b/templates/modules/common/blogger.html @@ -157,7 +157,7 @@ -