From 81ea2e1fc8f99cfc75f6adc381a3c5d34a2c75ec Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Wed, 28 Jun 2023 05:19:08 +0000
Subject: [PATCH 01/15] docs: update README.md [skip ci]
---
README.md | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index d21b4fb4..33fa767e 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@
## 贡献
-[](#contributors-)
+[](#contributors-)
@@ -59,16 +59,28 @@
From 9a8a2e039f707f76052eb653f76e29c5c5882782 Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Wed, 28 Jun 2023 05:19:09 +0000
Subject: [PATCH 02/15] docs: update .all-contributorsrc [skip ci]
---
.all-contributorsrc | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 5c633639..122beb89 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -62,7 +62,7 @@
"name": "Gadore",
"avatar_url": "https://avatars.githubusercontent.com/u/18081104?v=4",
"profile": "https://github.com/gadore",
- "contributions": [
+ "contributions": [
"code"
]
},
@@ -74,6 +74,15 @@
"contributions": [
"code"
]
+ },
+ {
+ "login": "chengzhongxue",
+ "name": "困困鱼",
+ "avatar_url": "https://avatars.githubusercontent.com/u/89380218?v=4",
+ "profile": "https://github.com/chengzhongxue",
+ "contributions": [
+ "code"
+ ]
}
],
"files": [
@@ -87,5 +96,6 @@
"commit": false,
"imageSize": 100,
"linkToUsage": true,
- "contributorsPerLine": 6
+ "contributorsPerLine": 6,
+ "commitType": "docs"
}
From 32a2c9c6784ad762775d11d68c866301accca610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?=
Date: Wed, 28 Jun 2023 13:23:43 +0800
Subject: [PATCH 03/15] Update package.json
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 95d45b3b..0cf8753f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "halo-theme-hao",
- "version": "1.1.3",
+ "version": "1.1.4",
"dependencies": {
}
}
From 92919df0909c7f803437e6ec4f922ff240dd60e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?=
Date: Wed, 28 Jun 2023 13:34:15 +0800
Subject: [PATCH 04/15] Update theme.yaml
---
theme.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/theme.yaml b/theme.yaml
index a264b582..da9b6726 100644
--- a/theme.yaml
+++ b/theme.yaml
@@ -27,5 +27,5 @@ spec:
repo: 'https://github.com/liuzhihang/halo-theme-hao'
settingName: "theme-hao-setting"
configMapName: "theme-hao-configMap"
- version: 1.1.2
+ version: 1.1.4
require: 2.0.0
From b3697d9c38c5dbaa2436edfd28a528609b7556ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?=
Date: Wed, 28 Jun 2023 13:56:56 +0800
Subject: [PATCH 05/15] Update README.md
---
README.md | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 33fa767e..10b4e437 100644
--- a/README.md
+++ b/README.md
@@ -30,22 +30,22 @@
## 简介
- [Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 是一款适用于 [Halo2.x](https://github.com/halo-dev/halo) 的博客主题。
+[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 是一款适用于 [Halo2.x](https://github.com/halo-dev/halo) 的博客主题。
- 移植自 [Hexo](https://hexo.io/zh-cn/index.html) 社区中 [张洪 Heo](https://blog.zhheo.com/)
+移植自 [Hexo](https://hexo.io/zh-cn/index.html) 社区中 [张洪 Heo](https://blog.zhheo.com/)
对 [Hexo-Theme-Butterfly](https://github.com/liuzhihang/halo-theme-hao)
主题的魔改版本。
## 安装
- 在 [Release](https://github.com/liuzhihang/halo-theme-hao/releases) 页面下载最新版本 `zip` 后,通过 `Halo Console` 安装上传即可。
+在 [Release](https://github.com/liuzhihang/halo-theme-hao/releases) 页面下载最新版本 `zip` 后,通过 `Halo Console` 安装上传即可。
- 详细文档请参考:[https://docs.halo.run/user-guide/themes](https://docs.halo.run/user-guide/themes)
+详细文档请参考:[https://docs.halo.run/user-guide/themes](https://docs.halo.run/user-guide/themes)
## 使用
-### [点我查看正在编写中的文档](https://docs.liuzhihang.com)
+### [点我查看正在编写中的文档](https://docs.liuzhihang.com)
## 贡献
@@ -90,15 +90,15 @@
## 许可
- [Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 使用 [GPL-v3.0](./LICENSE) 协议开源,请遵守开源协议。
+[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 使用 [GPL-v3.0](./LICENSE) 协议开源,请遵守开源协议。
## 加入我们
- 如果你对主题有什么建议或者意见,欢迎提 PR & issue。
+如果你对主题有什么建议或者意见,欢迎提 PR & issue。
- 想了解更多信息可以关注 「 程序员小航 」。
+想了解更多信息可以关注 「 程序员小航 」。
-
+
- 发送 "hao 群" 可以加群 (群验证信息最好是个人网站)
- 发送"加好友",可以加我微信,我拉你进群 (群二维码失效时)
@@ -119,6 +119,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
+
本工具使用 JetBrains IDEA 进行开发
----
From 7abed7a9a97b801b2c1d3e87043402451ba85fd8 Mon Sep 17 00:00:00 2001
From: sunheyi <1061867552@qq.com>
Date: Thu, 29 Jun 2023 11:22:21 +0800
Subject: [PATCH 06/15] =?UTF-8?q?=E9=A1=B5=E8=84=9A=E5=8F=8B=E9=93=BE?=
=?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=A6=81=E6=AD=A2=EF=BC=8C=E6=89=93=E8=B5=8F?=
=?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=A6=81=E6=AD=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
settings.yaml | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/settings.yaml b/settings.yaml
index 5f5191d2..6696aac0 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -466,7 +466,7 @@ spec:
name: centerImg
label: 社交媒体中间logo
help: logo图片链接
- placeholder: 请填写logo图片链接
+ placeholder: 请填写logo图片链接
- $formkit: repeater
name: socialMediaLeft
label: 社交媒体(左)
@@ -628,14 +628,14 @@ spec:
- label: 跳转链接
value: normal
- label: 图片
- value: image
+ value: image
- $formkit: menuRadio
name: menu
label: 底部相关链接
- $formkit: radio
name: enable_footer_group
label: 启用页脚友链
- value: true
+ value: false
options:
- label: 启用
value: true
@@ -645,8 +645,8 @@ spec:
name: fetchUrl
value: "`https://moments.0206.ink/randomfriend?num=3`"
label: 页脚友链地址
- placeholder: 请输入页脚友链地址
- help: 注意格式 (`友链地址`)
+ placeholder: 请输入页脚友链地址
+ help: 注意格式 (`友链地址`)
- group: post
label: 文章
@@ -683,7 +683,7 @@ spec:
- $formkit: radio
name: enable_reward
help: 启用文章打赏,请正确填写名称和二维码图片链接
- value: true
+ value: false
options:
- label: 启用
value: true
@@ -818,7 +818,7 @@ spec:
- $formkit: attachment
name: authorCareersBackground
label: 职业生涯背景图
- placeholder: 建议找个透明图
+ placeholder: 建议找个透明图
- $formkit: select
name: personalities
label: 人格
@@ -909,7 +909,7 @@ spec:
label: 爱好游戏背景
placeholder: 请输入内容
value: https://img.zhheo.com/i/2022/08/31/630efa7ae39fe.webp
-
+
- $formkit: group
name: game2
label: 爱好游戏2相关配置
@@ -991,7 +991,7 @@ spec:
name: music_link
label: 音乐偏好按钮链接
placeholder: 请输入内容
- value:
+ value:
- $formkit: attachment
name: music_bg
label: 音乐偏好背景
@@ -1039,7 +1039,7 @@ spec:
- $formkit: color
name: authorInfoColor
label: 内容颜色
- placeholder: 请输入内容
+ placeholder: 请输入内容
- $formkit: textarea
name: xjlc
label: 心路历程
@@ -1066,12 +1066,12 @@ spec:
name:
content:
wxPay:
- alipay:
+ alipay:
children:
- $formkit: radio
name: enable_reward
help: 启用文章打赏,请正确填写名称和二维码图片链接
- value: true
+ value: false
options:
- label: 启用
value: true
@@ -1123,7 +1123,7 @@ spec:
value: "Y"
- label: 否
value: "N"
-
+
- group: style
label: 样式(WIP)
formSchema:
@@ -1275,9 +1275,9 @@ spec:
name: apiurl
value: "`https://moments.0206.ink/`"
label: token地址
- placeholder: 请输入token地址
- help: 注意格式 (`token地址`)
-
+ placeholder: 请输入token地址
+ help: 注意格式 (`token地址`)
+
- group: comments
label: 评论
formSchema:
From d93a9e1ba62e28ea174f7ba486bfc30e5a800b3f Mon Sep 17 00:00:00 2001
From: sunheyi <1061867552@qq.com>
Date: Thu, 29 Jun 2023 11:25:09 +0800
Subject: [PATCH 07/15] =?UTF-8?q?=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95?=
=?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=89=93=E5=BC=80=E6=89=8D=E6=98=AF=E5=AE=8C?=
=?UTF-8?q?=E6=95=B4=E7=89=88=E6=9C=AC=EF=BC=8C=E8=A6=81=E4=B8=8D=E6=9C=89?=
=?UTF-8?q?=E4=BA=9B=E5=8A=9F=E8=83=BD=E4=B8=8D=E8=83=BD=E7=94=A8=E7=9A=84?=
=?UTF-8?q?=EF=BC=8C=E6=AF=94=E5=A6=82=E5=88=87=E6=8D=A2=E6=B5=85=E8=89=B2?=
=?UTF-8?q?=E6=B7=B1=E8=89=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
settings.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/settings.yaml b/settings.yaml
index 6696aac0..a69622a8 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -1189,7 +1189,7 @@ spec:
- $formkit: radio
name: switch
label: 开关
- value: false
+ value: true
options:
- label: 打开
value: true
From d123fd4602885f23907a5cc6d36414a2685026dd Mon Sep 17 00:00:00 2001
From: sunheyi <1061867552@qq.com>
Date: Thu, 29 Jun 2023 11:52:41 +0800
Subject: [PATCH 08/15] =?UTF-8?q?=E6=B7=BB=E5=8A=A01?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
settings.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/settings.yaml b/settings.yaml
index a69622a8..50146e18 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -5,7 +5,7 @@ metadata:
spec:
forms:
- group: basics
- label: 基础
+ label: 基础1
formSchema:
- $formkit: date
name: siteStartTime
From 3d7704ed0ada55eb6ce88a48984d01c9f64be6ab Mon Sep 17 00:00:00 2001
From: sunheyi <1061867552@qq.com>
Date: Thu, 29 Jun 2023 11:52:53 +0800
Subject: [PATCH 09/15] =?UTF-8?q?=E5=8E=BB=E9=99=A41?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
settings.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/settings.yaml b/settings.yaml
index 50146e18..a69622a8 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -5,7 +5,7 @@ metadata:
spec:
forms:
- group: basics
- label: 基础1
+ label: 基础
formSchema:
- $formkit: date
name: siteStartTime
From 7f85374072e0aa868020e42fe0f8c23482667513 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?=
Date: Thu, 29 Jun 2023 14:11:38 +0800
Subject: [PATCH 10/15] Update README.md
---
README.md | 70 ++++++++++++++++++++++++-------------------------------
1 file changed, 30 insertions(+), 40 deletions(-)
diff --git a/README.md b/README.md
index 10b4e437..633c2cb1 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
[主题预览](#预览) |
[快速上手](#安装) |
[使用文档](https://docs.liuzhihang.com) |
-[加入我们](#加入我们)
+[加入我们](#讨论)
@@ -27,12 +27,12 @@
- 程序员小航:[https://liuzhihang.com](https://liuzhihang.com)
- 小孙同学:[https://blog.sunguoqi.com](https://blog.sunguoqi.com)
- 困困鱼:[https://0206.ink](https://0206.ink)
+- Steven的博客: [https://blog.stevenw.cc/](https://blog.stevenw.cc/)
+- 小张博客: [https://www.xiaozhangstu.com/](https://www.xiaozhangstu.com/)
## 简介
-[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 是一款适用于 [Halo2.x](https://github.com/halo-dev/halo) 的博客主题。
-
-移植自 [Hexo](https://hexo.io/zh-cn/index.html) 社区中 [张洪 Heo](https://blog.zhheo.com/)
+[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 是一款适用于 [Halo2.x](https://github.com/halo-dev/halo) 的博客主题。移植自 [Hexo](https://hexo.io/zh-cn/index.html) 社区中 [张洪 Heo](https://blog.zhheo.com/)
对 [Hexo-Theme-Butterfly](https://github.com/liuzhihang/halo-theme-hao)
主题的魔改版本。
@@ -40,15 +40,33 @@
在 [Release](https://github.com/liuzhihang/halo-theme-hao/releases) 页面下载最新版本 `zip` 后,通过 `Halo Console` 安装上传即可。
-详细文档请参考:[https://docs.halo.run/user-guide/themes](https://docs.halo.run/user-guide/themes)
-
-
## 使用
### [点我查看正在编写中的文档](https://docs.liuzhihang.com)
+## 许可
+
+[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 使用 [GPL-v3.0](./LICENSE) 协议开源,请遵守开源协议。
+
+## 讨论
+
+如果你对主题有什么建议或者意见,欢迎提 PR & issue。
+
+想了解更多信息可以关注 「 程序员小航 」。
+
+
+
+- 发送 "hao 群" 可以加群 (群验证信息最好是个人网站)
+- 发送"加好友",可以加我微信,我拉你进群 (群二维码失效时)
+
+> 卖服务器的广告人,就不要加了。
+
## 贡献
+Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)) :)
+
+This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
+
[](#contributors-)
@@ -88,39 +106,11 @@
-## 许可
-
-[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 使用 [GPL-v3.0](./LICENSE) 协议开源,请遵守开源协议。
-
-## 加入我们
-
-如果你对主题有什么建议或者意见,欢迎提 PR & issue。
-
-想了解更多信息可以关注 「 程序员小航 」。
-
-
-
-- 发送 "hao 群" 可以加群 (群验证信息最好是个人网站)
-- 发送"加好友",可以加我微信,我拉你进群 (群二维码失效时)
-
-> 卖服务器的广告人,就不要加了。
-
-## Contributors
-
-Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
-
-
-
-
-
-
-
-
-
-This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
+## 指标

-本工具使用 JetBrains IDEA 进行开发
-----
-
+> 本项目使用 JetBrains IDEA 进行开发
+
+
+
From 2e82d36d89d663ff0fa3620485fb15e5351efb9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?=
Date: Thu, 29 Jun 2023 14:35:23 +0800
Subject: [PATCH 11/15] Update .all-contributorsrc
---
.all-contributorsrc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 122beb89..81f20fe1 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -1,6 +1,15 @@
{
"skipCi": true,
"contributors": [
+ {
+ "login": "liuzhihang",
+ "name": "liuzhihang",
+ "avatar_url": "https://avatars.githubusercontent.com/u/26057042?v=4",
+ "profile": "https://liuzhihang.com/",
+ "contributions": [
+ "code"
+ ]
+ },
{
"login": "shy-share",
"name": "sunheyi",
From 0233ca95d7d1f4b69ac531a1fc62f1e37ea17b93 Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Thu, 29 Jun 2023 06:36:30 +0000
Subject: [PATCH 12/15] docs: update README.md [skip ci]
---
README.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 633c2cb1..bf1612fb 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
-[](#contributors-)
+[](#contributors-)
@@ -77,14 +77,15 @@ This project follows the [all-contributors](https://github.com/all-contributors/
+  liuzhihang 💻 ✅ |
 sunheyi 💻 |
 Joy 💻 |
 John Niang 💻 |
 Lanbin ✅ |
 小孙同学 ✅ 💻 |
-  airbo ✅ 💻 |
+  airbo ✅ 💻 |
 Gadore 💻 |
 羡羡 💻 |
 困困鱼 💻 |
From ab4d2f77ca9d34b9f009f370efdf94091ce0e49d Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Thu, 29 Jun 2023 06:36:31 +0000
Subject: [PATCH 13/15] docs: update .all-contributorsrc [skip ci]
---
.all-contributorsrc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 81f20fe1..2a6101f5 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -7,7 +7,8 @@
"avatar_url": "https://avatars.githubusercontent.com/u/26057042?v=4",
"profile": "https://liuzhihang.com/",
"contributions": [
- "code"
+ "code",
+ "tutorial"
]
},
{
From 19ef922300607e74932389133740fe7afcbdd947 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BE=A1=E7=BE=A1?=
Date: Fri, 30 Jun 2023 08:16:29 +0800
Subject: [PATCH 14/15] =?UTF-8?q?Fix:=E6=9C=80=E6=96=B0=E8=AF=84=E8=AE=BA?=
=?UTF-8?q?=20Fix:=E4=BC=98=E5=8C=96=E4=B8=8A=E4=B8=80=E9=A1=B5=E4=B8=8B?=
=?UTF-8?q?=E4=B8=80=E9=A1=B5=20=E9=98=85=E8=AF=BB=E5=BB=BA=E8=AE=AE=20Fix?=
=?UTF-8?q?:=E4=BF=AE=E5=A4=8D=E6=96=87=E7=AB=A0=E6=91=98=E8=A6=81?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E4=BD=8D=20Feat:=E9=99=90=E5=88=B6?=
=?UTF-8?q?=E6=96=87=E7=AB=A0=E6=91=98=E8=A6=81=E6=98=AF=E5=90=A6=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
settings.yaml | 15 +
templates/assets/zhheo/zhheoblog.css | 287 +++++++++++-------
templates/modules/post-list.html | 4 +-
templates/modules/widgets/aside/comments.html | 50 +--
templates/post.html | 24 +-
5 files changed, 236 insertions(+), 144 deletions(-)
diff --git a/settings.yaml b/settings.yaml
index a69622a8..f6cc9d04 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -661,6 +661,16 @@ spec:
- label: 关闭
value: false
help: "文章主色匹配图片颜色"
+ - $formkit: radio
+ name: summarize
+ label: 文章摘要
+ value: false
+ options:
+ - label: 打开
+ value: true
+ - label: 关闭
+ value: false
+ help: "是否显示文章摘要"
- $formkit: number
name: recommendQuantity
label: 阅读建议
@@ -1318,6 +1328,11 @@ spec:
label: Twikoo评论-mailMd5
placeholder: 请输入mailMd5
help: 注意格式 (`mailMd5`)
+ - $formkit: number
+ name: newcommentnumber
+ label: 评论数量
+ value: 5
+ help: "最新评论数量"
- group: other
label: 其他设置
formSchema:
diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css
index 47708c04..fcc07b79 100644
--- a/templates/assets/zhheo/zhheoblog.css
+++ b/templates/assets/zhheo/zhheoblog.css
@@ -1953,7 +1953,7 @@ blockquote footer cite::before {
width: 100%;
position: relative;
}
-
+
#error-wrap .error-content {
display: flex;
-webkit-box-orient: horizontal;
@@ -1973,11 +1973,11 @@ blockquote footer cite::before {
position: relative;
width: 100%;
}
-
+
#error-wrap .error-content:hover {
box-shadow: var(--card-hover-box-shadow);
}
-
+
@media screen and (max-width: 768px) {
#error-wrap .error-content {
-webkit-box-orient: vertical;
@@ -1987,7 +1987,7 @@ blockquote footer cite::before {
width: 100%;
}
}
-
+
#error-wrap .error-content .error-img {
-webkit-box-flex: 1;
flex: 1 1 0%;
@@ -1999,7 +1999,7 @@ blockquote footer cite::before {
background-position: center center;
background-size: cover;
}
-
+
@media screen and (max-width: 768px) {
#error-wrap .error-content .error-img {
-webkit-box-flex: 1;
@@ -2008,7 +2008,7 @@ blockquote footer cite::before {
border-radius: 12px;
}
}
-
+
#error-wrap .error-content .error-info {
-webkit-box-flex: 1;
flex: 1 1 0%;
@@ -2017,13 +2017,13 @@ blockquote footer cite::before {
font-size: 14px;
font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
-
-
+
+
#error-wrap .error-content .error-info .error_title {
font-size: 9em;
line-height: 1;
}
-
+
@media screen and (max-width: 768px) {
#error-wrap .error-content .error-info {
-webkit-box-flex: 1.1;
@@ -2031,19 +2031,19 @@ blockquote footer cite::before {
width: 100%;
padding-bottom: 2rem;
}
-
+
#error-wrap .error-content .error-info .error_title {
font-size: 4rem;
}
}
-
-
+
+
#error-wrap .error-content .error-info .error_subtitle {
word-break: break-word;
font-size: 1.6em;
-webkit-line-clamp: 2;
}
-
+
#error-wrap .error-content .error-info a {
display: inline-block;
margin-top: 0.5rem;
@@ -2051,7 +2051,7 @@ blockquote footer cite::before {
background: var(--btn-bg);
color: var(--btn-color);
}
-
+
#error-wrap .error-content .error-info a i {
padding-right: 0.3rem;
}
@@ -3163,6 +3163,7 @@ ul {
opacity: 0.4;
transition: all 0.6s ease 0s;
object-fit: cover;
+ color: white;
}
#pagination .pagination-info {
@@ -3215,6 +3216,14 @@ ul {
height: 150px;
}
+#pagination .next-post2 a,
+#pagination .prev-post2 a {
+ position: relative;
+ display: block;
+ overflow: hidden;
+ height: 150px;
+}
+
#pagination .next-post:hover img.next-cover,
#pagination .next-post:hover img.prev-cover,
#pagination .prev-post:hover img.next-cover,
@@ -7993,37 +8002,37 @@ span.fund_name {
border: var(--style-border);
animation: barrageIn 0.6s cubic-bezier(0.42, 0, 0.3, 1.11);
}
-
+
#cookies-window.cw-hide {
opacity: 0;
animation: barrageOut 0.6s cubic-bezier(0.42, 0, 0.3, 1.11);
z-index: -1;
}
-
+
#cookies-window .cookies-window-title {
padding-bottom: 4px;
border-bottom: var(--style-border);
font-size: 12px;
font-weight: bold;
}
-
+
#cookies-window .cookies-window-content {
font-size: 14px;
display: flex;
justify-content: space-around;
align-items: center;
}
-
+
.cookie-to {
margin-right: 4px;
font-weight: bold;
}
-
+
.cookies-link {
margin-left: auto;
font-size: 16px;
}
-
+
.cookies-link i.heofont {
font-size: 16px;
}
@@ -8996,10 +9005,10 @@ li {
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
+ -webkit-line-clamp: 1;
line-height: 1.4;
color: var(--heo-secondtext);
- margin-top: 0.5rem;
+ margin-top: 0.4rem;
}
@media screen and (max-width: 1300px) {
@@ -9174,13 +9183,13 @@ li {
border: var(--style-border-always);
margin-top: 16px;
}
-
+
@media screen and (max-width: 768px) {
.post-ai {
margin-top: 22px;
}
}
-
+
.ai-title {
display: flex;
color: var(--heo-lighttext);
@@ -9190,13 +9199,13 @@ li {
cursor: default;
user-select: none;
}
-
+
.ai-title-text {
font-weight: bold;
margin-left: 8px;
line-height: 1;
}
-
+
.ai-explanation {
margin-top: 12px;
padding: 8px 12px;
@@ -9207,12 +9216,12 @@ li {
line-height: 1.4;
display: none;
}
-
+
.ai-suggestions {
display: flex;
flex-wrap: wrap;
}
-
+
.ai-suggestions .ai-suggestions-item {
margin-top: 12px;
padding: 8px 12px;
@@ -9227,12 +9236,12 @@ li {
cursor: pointer;
transition: 0.3s;
}
-
+
.ai-suggestions .ai-suggestions-item:hover {
background: var(--heo-main);
color: var(--heo-white);
}
-
+
.blinking-cursor {
background-color: var(--heo-main);
width: 10px;
@@ -9244,7 +9253,7 @@ li {
margin-left: 4px;
margin-bottom: 3px;
}
-
+
@keyframes blinking-cursor {
0% {
opacity: 1;
@@ -9262,7 +9271,7 @@ li {
opacity: 1;
}
}
-
+
.ai-tag {
font-size: 12px;
background-color: var(--heo-lighttext);
@@ -9278,12 +9287,12 @@ li {
cursor: pointer;
transition: 0.3s;
}
-
+
.ai-tag:hover {
background: var(--heo-fontcolor);
color: var(--heo-card-bg);
}
-
+
ins.adsbygoogle {
margin: 16px 0;
background: var(--heo-card-bg);
@@ -9291,7 +9300,7 @@ li {
overflow: hidden;
border: var(--style-border-always);
}
-
+
#ai-Toggle {
font-size: 12px;
background: var(--heo-lighttext);
@@ -9304,7 +9313,7 @@ li {
transition: 0.3s;
font-weight: bold;
}
-
+
#ai-Toggle:hover {
background: var(--heo-fontcolor);
color: var(--heo-card-bg);
@@ -10653,11 +10662,11 @@ a.extend.prev {
height: 30rem !important;
margin-bottom: -12px;
}
-
+
#page-header.post-bg:before {
height: 15rem;
}
-
+
.post-bg #post-cover {
min-height: 15rem !important;
height: 70% !important;
@@ -10669,18 +10678,18 @@ a.extend.prev {
#page-header.post-bg {
height: 25rem;
}
-
+
#page-header {
height: 25rem;
}
-
+
#page-header.post-bg:before {
height: 25rem;
/* opacity: 0; */
background-color: var(--heo-main);
animation: slide-in-op 0.6s 0s forwards;
}
-
+
#post-info .post-title {
width: 1100px;
font-size: 2.6rem !important;
@@ -10757,14 +10766,14 @@ a.extend.prev {
filter: blur(10px);
opacity: 0;
}
-
+
.coverdiv.loaded {
display: block;
opacity: 0.5;
animation: showCover 1s 0.3s backwards;
transform: rotate(10deg) translateY(-10%) scale(2);
}
-
+
}
@@ -10781,15 +10790,15 @@ a.extend.prev {
filter: blur(10px);
opacity: 0;
}
-
-
+
+
.coverdiv.loaded {
display: block;
opacity: 0.5;
animation: showCover 1s 0.3s backwards;
transform: rotate(10deg) translateY(-10%) scale(2);
}
-
+
@keyframes showCover {
from {
opacity: 0;
@@ -11452,11 +11461,11 @@ details:not(.tk-admin-config-group) {
border: var(--style-border);
transition: border 0.3s;
}
-
+
details:not(.tk-admin-config-group):hover {
border: var(--style-border-hover-always);
}
-
+
details:not(.tk-admin-config-group) summary {
position: absolute;
padding: 0.5rem 1rem;
@@ -11472,21 +11481,21 @@ details:not(.tk-admin-config-group) summary {
overflow: hidden; /* 超出部分隐藏 */
text-overflow: ellipsis; /* 超出部分用省略号表示 */
}
-
+
details:not(.tk-admin-config-group) > *:nth-child(2) {
margin-top: calc(54px + 1rem) !important;
}
-
+
details[open]:not(.tk-admin-config-group) summary {
background: var(--heo-main);
color: var(--heo-white);
}
-
+
details:not(.tk-admin-config-group) summary::before {
content: '';
padding: 4px;
}
-
+
details:not(.tk-admin-config-group) summary:hover {
cursor: pointer;
background: var(--heo-main);
@@ -11494,31 +11503,31 @@ details:not(.tk-admin-config-group) summary:hover {
transition: 0.3s;
box-shadow: var(--heo-shadow-main);
}
-
+
details:not(.tk-admin-config-group) summary:focus {
outline: none;
}
-
+
details:not(.tk-admin-config-group) summary::marker {
color: var(--heo-main);
transition: 0.3s;
}
-
+
details[open]:not(.tk-admin-config-group) summary::marker {
color: var(--heo-white);
}
-
+
details:not(.tk-admin-config-group) summary:hover::marker {
color: var(--heo-white);
}
-
+
details[open]:not(.tk-admin-config-group) {
border-radius: 12px;
border: var(--style-border-hover-always);
padding: 0 1.5rem;
background: var(--heo-card-bg);
}
-
+
details:not(.tk-admin-config-group) summary:hover:after {
position: absolute;
content: '+';
@@ -11528,11 +11537,11 @@ details:not(.tk-admin-config-group) summary:hover:after {
right: 16px;
line-height: 1;
}
-
+
details[open]:not(.tk-admin-config-group) > summary:hover:after {
content: '-';
}
-
+
@media screen and (max-width: 768px) {
details[open]:not(.tk-admin-config-group) {
padding: 0 16px;
@@ -12427,7 +12436,46 @@ a.reward-main-btn:hover {
.prev-post.pull-left,
#pagination .prev-post,
#pagination .next-post {
- background: var(--heo-secondbg);
+ background: #363636;
+}
+
+.next-post2.pull-right,
+.prev-post2.pull-left,
+#pagination .prev-post2,
+#pagination .next-post2 {
+ background: #363636;
+}
+
+#preimg{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ opacity: .4;
+ -webkit-transition: all .6s,filter 375ms ease-in .2s;
+ -moz-transition: all .6s,filter 375ms ease-in .2s;
+ -o-transition: all .6s,filter 375ms ease-in .2s;
+ -ms-transition: all .6s,filter 375ms ease-in .2s;
+ transition: all .6s,filter 375ms ease-in .2s;
+ object-fit: cover;
+ border-radius: 0;
+}
+.prev-post2.pull-left:hover #preimg {
+ opacity: 1;
+ transform: scale(1.1);
+}
+.prev-post.pull-left:hover #preimg {
+ opacity: 1;
+ transform: scale(1.1);
+}
+
+.next-post.pull-right:hover #preimg {
+ opacity: 1;
+ transform: scale(1.1);
+}
+
+.next-post2.pull-right:hover #preimg {
+ opacity: 1;
+ transform: scale(1.1);
}
@media screen and (min-width: 768px) {
@@ -12504,12 +12552,17 @@ a.reward-main-btn:hover {
#post #pagination .prev-post .label,
#pagination .next-post .label {
- color: var(--heo-fontcolor);
+ color: white;
+}
+
+#post #pagination .prev-post2 .label,
+#pagination .next-post2 .label {
+ color: white;
}
#post #pagination .prev_info,
#pagination .next_info {
- color: var(--heo-fontcolor);
+ color: white;
font-weight: bold;
-webkit-line-clamp: 2;
white-space: normal;
@@ -12817,14 +12870,15 @@ a.reward-main-btn:hover {
}
.relatedPosts > .relatedPosts-list > div {
- background: var(--heo-background);
+ background: #363636;
transition: 0.3s;
cursor: pointer;
overflow: hidden;
}
-.relatedPosts > .relatedPosts-list > div:hover {
- background: var(--heo-main);
+.relatedPosts > .relatedPosts-list > div:hover #preimg{
+ opacity: 1;
+ transform: scale(1.1);
}
@media screen and (max-width: 768px) {
@@ -12853,12 +12907,11 @@ a.reward-main-btn:hover {
line-height: 1.5;
-webkit-line-clamp: 4;
font-size: 0.9rem;
- text-align: left;
+ text-align: center;
}
.relatedPosts > .relatedPosts-list .content .date {
color: var(--heo-fontcolor);
- display: none;
}
/* 分割线 */
@@ -12899,7 +12952,7 @@ a.reward-main-btn:hover {
div#post-comment {
margin-top: 2rem;
}
-
+
#post-comment>div.comment-head>div.comment-privacy {
display: block;
justify-content: space-between;
@@ -12907,7 +12960,7 @@ div#post-comment {
font-size: 13px;
margin-left: auto;
}
-
+
#post-comment>div.comment-head>div.comment-privacy a:hover {
color: var(--heo-theme);
}
@@ -14669,7 +14722,7 @@ figure.gallery-group:hover .gallery-group-name::after {
border-radius: 12px;
background: var(--heo-card-bg) !important;
}
-
+
#body-wrap.page .errors {
display: flex;
flex-direction: column;
@@ -14679,7 +14732,7 @@ figure.gallery-group:hover .gallery-group-name::after {
padding-top: 50px;
position: relative;
}
-
+
#body-wrap.page .errors .aside-list {
display: flex;
flex-direction: row;
@@ -14687,7 +14740,7 @@ figure.gallery-group:hover .gallery-group-name::after {
margin: 1rem;
max-width: 100%;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-group {
display: flex;
flex-direction: row;
@@ -14696,18 +14749,18 @@ figure.gallery-group:hover .gallery-group-name::after {
margin: 0 auto;
justify-content: space-between;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-item {
padding: 0.5rem 0;
width: 49%;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-item img {
width: 100%;
object-fit: cover;
border-radius: 12px;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-item .thumbnail {
overflow: hidden;
width: 100%;
@@ -14715,7 +14768,7 @@ figure.gallery-group:hover .gallery-group-name::after {
background: var(--heo-card-bg);
display: flex;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-item .content .title {
-webkit-line-clamp: 2;
overflow: hidden;
@@ -14729,21 +14782,21 @@ figure.gallery-group:hover .gallery-group-name::after {
font-size: 16px;
font-weight: bold;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-item .content time {
display: none;
}
-
-
+
+
@media screen and (max-width: 768px) {
#body-wrap.page .errors {
padding-top: 0;
}
-
+
#body-wrap.page .errors .aside-list {
margin: 0;
}
-
+
#body-wrap.page .errors .aside-list .aside-list-item .thumbnail {
height: 100px;
}
@@ -15622,7 +15675,7 @@ span.hexo-douban-pagenum {
@keyframes floating {
0% { transform: translate(0, -4px); }
50% { transform: translate(0, 4px); }
- 100% { transform: translate(0, -4px); }
+ 100% { transform: translate(0, -4px); }
}
#about-page .author-info {
@@ -15630,33 +15683,33 @@ span.hexo-douban-pagenum {
align-items: center;
margin: 0 0 16px 0;
}
-
+
#about-page .author-tag-left {
display: flex;
flex-direction: column;
align-items: flex-end;
}
-
+
#about-page .author-tag-right {
display: flex;
flex-direction: column;
align-items: flex-start;
}
-
+
@media screen and (max-width: 768px) {
#about-page .author-tag-left,#about-page .author-tag-right {
display: none;
}
}
-
+
#about-page .author-tag-left .author-tag:first-child, #about-page .author-tag-left .author-tag:last-child {
margin-right: -16px;
}
-
+
#about-page .author-tag-right .author-tag:first-child, #about-page .author-tag-right .author-tag:last-child {
margin-left: -16px;
}
-
+
#about-page .author-tag {
transform: translate(0, -4px);
padding: 1px 8px;
@@ -15669,19 +15722,19 @@ span.hexo-douban-pagenum {
box-shadow: var(--heo-shadow-lightblack);
animation: 6s ease-in-out 0s infinite normal none running floating;
}
-
+
#about-page .author-tag:nth-child(1) {
animation-delay: 0s;
}
-
+
#about-page .author-tag:nth-child(2) {
animation-delay: 0.6s;
}
-
+
#about-page .author-tag:nth-child(3) {
animation-delay: 1.2s;
}
-
+
#about-page .author-tag:nth-child(4) {
animation-delay: 1.8s;
}
@@ -16966,8 +17019,8 @@ span.hexo-douban-pagenum {
margin-right: 8px;
border-radius: 20px;
}
-
-
+
+
#card-newest-comments .aside-list-item {
background: var(--heo-card-bg);
border-radius: 12px;
@@ -16980,22 +17033,22 @@ span.hexo-douban-pagenum {
transition: 0.3s;
position: relative;
}
-
+
#card-newest-comments .aside-list-item:hover {
background: var(--heo-main);
color: var(--heo-white);
-}
-
+}
+
#card-newest-comments .aside-list-item:not(:last-child) {
margin-bottom: 0.5rem;
-}
-
+}
+
#card-newest-comments .aside-list-item .name {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-weight: bold;
-}
+}
#console .author-content-item-tips {
opacity: .8;
@@ -17034,7 +17087,7 @@ span.hexo-douban-pagenum {
line-height: 24px;
font-size: 14px;
}
-
+
#console .aside-list-item .content .comment::before {
content: '';
width: 100%;
@@ -17274,17 +17327,17 @@ span.hexo-douban-pagenum {
height: 24px;
}
-/* 文章目录样式 */
+/* 文章目录样式 */
a.toc-link {
color: currentColor;
height:0%;
}
-/* 文章目录样式 */
+/* 文章目录样式 */
#aside-content #card-toc .toc-content .is-active-link {
font-weight: 700;
font-size: 20px;
color: var(--heo-lighttext);
-}
+}
/* code样式 */
code:not([class]) {
color: var(--heo-white);
@@ -17296,22 +17349,22 @@ a.toc-link {
box-shadow: var(--heo-shadow-border);
font-size: 17.5px;
font-family: consolas, Menlo, "PingFang SC", "Microsoft YaHei", sans-serif !important;
-}
-
-
+}
+
+
/* 导航栏中间返回顶部样式 */
#page-header.nav-fixed #nav #page-name-text {
display: inline;
opacity: 1;
transition: 0.3s;
line-height: 1.6;
-}
+}
.nav-fixed #nav #page-name-text:hover {
background: var(--heo-main);
transition: 0.3s;
border-radius: 50px;
padding: 4px 8px;
-
+
}
@media screen and (min-width: 900px) {
@@ -17359,11 +17412,11 @@ a.toc-link {
align-items: center;
text-shadow: none;
border-radius: 40px;
-}
+}
-
- /* 导航栏中间样式 */
+
+ /* 导航栏中间样式 */
#menus>div.menus_items a {
font-size: 16.8px;
font-weight: 700;
@@ -17371,7 +17424,11 @@ a.toc-link {
#nav .menus_items .menus_item .menus_item_child {
padding: 2px 2px 4px 2px;
border-radius: 55px;
-}
+}
#nav .menus_items .menus_item .menus_item_child li a:hover {
padding: 0.2rem 0.5rem;
-}
+}
+
+.postcarnepre{
+ width: 100%;
+}
diff --git a/templates/modules/post-list.html b/templates/modules/post-list.html
index b6d58d92..442c9592 100644
--- a/templates/modules/post-list.html
+++ b/templates/modules/post-list.html
@@ -39,7 +39,7 @@
th:href="@{${post.status.permalink}}"
th:text="${post.spec.title}">
-
+
@@ -87,4 +87,4 @@
-