From 3eb3d0350db010066c5cf76ef06e0ddf9c8185d5 Mon Sep 17 00:00:00 2001
From: liuzhihang
Date: Mon, 26 Jun 2023 22:39:22 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=8F=91=E5=B8=83=201.1.?=
=?UTF-8?q?2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
annotation-setting.yaml | 12 +
settings.yaml | 721 +-
templates/404.html | 53 +
templates/about.html | 486 +-
templates/assets/css/custom.css | 559 --
templates/assets/images/404s.gif | Bin 0 -> 606938 bytes
templates/assets/images/home.png | Bin 4586 -> 0 bytes
templates/assets/images/home.webp | Bin 0 -> 512 bytes
templates/assets/images/hua.gif | Bin 0 -> 81947 bytes
.../assets/js/extend/covercolor/local.js | 146 -
templates/assets/js/extend/covercolor/web.js | 135 -
.../assets/js/extend/search/algolia-search.js | 140 -
.../assets/js/extend/search/local-search.js | 162 -
templates/assets/js/halo.js | 12 +
templates/assets/js/heo.js | 451 ++
templates/assets/js/main.js | 1235 ++--
templates/assets/js/utils.js | 305 +-
templates/assets/lib/lazyload.min.js | 1 -
templates/assets/lib/qrcode.min.js | 1 -
templates/assets/lib/rgbaster.min.js | 1 -
templates/assets/lib/swiper.min.css | 13 -
templates/assets/lib/swiper.min.js | 13 -
templates/assets/lib/waterfall.min.js | 1 -
.../assets/libs/clipboard/clipboard.min.js | 7 +
.../libs/color-thief/color-thief.umd.js | 1 +
.../libs/fancybox/jquery.fancybox.min.css | 1 +
.../libs/fancybox/jquery.fancybox.min.js | 4 +
.../fast-average-color/index.browser.min.js | 2 +
templates/assets/libs/iconfont/iconfont.css | 479 ++
templates/assets/libs/iconfont/iconfont.js | 1 +
templates/assets/libs/iconfont/iconfont.json | 821 +++
templates/assets/libs/iconfont/iconfont.ttf | Bin 0 -> 36752 bytes
templates/assets/libs/iconfont/iconfont.woff | Bin 0 -> 23108 bytes
templates/assets/libs/iconfont/iconfont.woff2 | Bin 0 -> 19952 bytes
.../libs/instantpage/instantpage.min.js | 2 +
.../assets/libs/lazyload/lazyload.iife.min.js | 1 +
templates/assets/libs/moments/app.min.js | 1 +
templates/assets/libs/moments/bundle.js | 27 +
.../var.css => libs/moments/heoMainColor.css} | 143 +-
.../libs/moments/random-friends-post.js | 82 +
.../assets/{lib => libs/pjax}/pjax.min.js | 0
.../{lib => libs/snackbar}/snackbar.min.css | 0
.../{lib => libs/snackbar}/snackbar.min.js | 0
.../assets/libs/swiper/swiper-bundle.min.css | 650 ++
.../assets/libs/swiper/swiper-bundle.min.js | 5872 ++++++++++++++++
.../assets/libs/tocbot/4.18.2/tocbot.css | 1 +
.../assets/libs/tocbot/4.18.2/tocbot.min.js | 1 +
.../assets/libs/twikoo/twikoo.all.min.js | 2 +
.../view-image}/view-image.min.js | 0
.../assets/libs/waterfall/waterfall.min.js | 1 +
templates/assets/zhheo/blogex copy.js | 797 +++
templates/assets/zhheo/blogex.js | 791 +++
templates/assets/zhheo/commentBarrage.css | 181 +
templates/assets/zhheo/commentBarrage.js | 166 +
templates/assets/zhheo/commentBarrage.min.css | 1 +
templates/assets/zhheo/custom.css | 48 +
templates/assets/zhheo/custom.min.css | 1 +
templates/assets/zhheo/heo-fcircle3.css | 512 ++
templates/assets/zhheo/heo-fcircle3mini.js | 362 +
templates/assets/zhheo/prism/prism.min.css | 7 +
templates/assets/zhheo/prism/prism.min.js | 306 +
.../zhheo/prism/themes/prism-a11y-dark.css | 161 +
.../zhheo/prism/themes/prism-atom-dark.css | 143 +
.../prism-base16-ateliersulphurpool.light.css | 176 +
.../assets/zhheo/prism/themes/prism-cb.css | 176 +
.../zhheo/prism/themes/prism-coldark-cold.css | 317 +
.../zhheo/prism/themes/prism-coldark-dark.css | 317 +
.../themes/prism-coy-without-shadows.css | 140 +
.../zhheo/prism/themes/prism-darcula.css | 159 +
.../zhheo/prism/themes/prism-dracula.css | 122 +
.../zhheo/prism/themes/prism-duotone-dark.css | 172 +
.../prism/themes/prism-duotone-earth.css | 172 +
.../prism/themes/prism-duotone-forest.css | 172 +
.../prism/themes/prism-duotone-light.css | 172 +
.../zhheo/prism/themes/prism-duotone-sea.css | 172 +
.../prism/themes/prism-duotone-space.css | 172 +
.../zhheo/prism/themes/prism-ghcolors.css | 122 +
.../zhheo/prism/themes/prism-gruvbox-dark.css | 143 +
.../prism/themes/prism-gruvbox-light.css | 143 +
.../zhheo/prism/themes/prism-holi-theme.css | 119 +
.../zhheo/prism/themes/prism-hopscotch.css | 133 +
.../zhheo/prism/themes/prism-lucario.css | 122 +
.../prism/themes/prism-material-dark.css | 205 +
.../prism/themes/prism-material-light.css | 207 +
.../prism/themes/prism-material-oceanic.css | 210 +
.../zhheo/prism/themes/prism-night-owl.css | 158 +
.../assets/zhheo/prism/themes/prism-nord.css | 124 +
.../zhheo/prism/themes/prism-one-dark.css | 252 +
.../zhheo/prism/themes/prism-one-light.css | 241 +
.../zhheo/prism/themes/prism-pojoaque.css | 151 +
.../prism/themes/prism-shades-of-purple.css | 200 +
.../themes/prism-solarized-dark-atom.css | 143 +
.../zhheo/prism/themes/prism-synthwave84.css | 140 +
.../assets/zhheo/prism/themes/prism-vs.css | 168 +
.../prism/themes/prism-vsc-dark-plus.css | 290 +
.../zhheo/prism/themes/prism-xonokai.css | 189 +
.../zhheo/prism/themes/prism-z-touch.css | 160 +
templates/assets/zhheo/rightmenu.js | 420 ++
.../{css/main.css => zhheo/zhheoblog.css} | 5897 +++++++++++++----
templates/assets/zhheo/zhheoblog.min.css | 1 +
templates/categories.html | 1 +
templates/fcircle.html | 85 +
templates/links.html | 43 +-
templates/modules/commentBarrage.html | 174 +
templates/modules/footer.html | 127 +-
templates/modules/head.html | 272 +-
templates/modules/layouts/layout.html | 285 +-
templates/modules/loading-box.html | 60 +-
templates/modules/moment.html | 22 +-
templates/modules/nav.html | 6 +-
templates/modules/post-list.html | 29 +-
templates/modules/right-menu.html | 2 +-
templates/modules/sidebar.html | 98 +-
templates/modules/twikoo.html | 99 +
.../modules/widgets/aside/categories.html | 2 +-
templates/modules/widgets/aside/comments.html | 5 +-
.../widgets/aside/contain/stat-contain.html | 10 +-
.../widgets/aside/contain/tags-contain.html | 2 +-
templates/modules/widgets/aside/profile.html | 7 +-
.../modules/widgets/aside/recent-posts.html | 2 +-
templates/modules/widgets/banner-group.html | 28 +-
.../modules/widgets/cardNewestComments.html | 99 +
templates/modules/widgets/console.html | 88 +-
templates/modules/widgets/nav-left.html | 18 +-
templates/modules/widgets/nav-menu.html | 13 +-
templates/modules/widgets/nav-right.html | 42 +-
templates/moments.html | 53 +-
templates/page.html | 17 +-
templates/post.html | 532 +-
templates/tags.html | 1 +
theme.yaml | 8 +
132 files changed, 26966 insertions(+), 3665 deletions(-)
create mode 100644 annotation-setting.yaml
create mode 100644 templates/404.html
delete mode 100644 templates/assets/css/custom.css
create mode 100644 templates/assets/images/404s.gif
delete mode 100644 templates/assets/images/home.png
create mode 100644 templates/assets/images/home.webp
create mode 100644 templates/assets/images/hua.gif
delete mode 100644 templates/assets/js/extend/covercolor/local.js
delete mode 100644 templates/assets/js/extend/covercolor/web.js
delete mode 100644 templates/assets/js/extend/search/algolia-search.js
delete mode 100644 templates/assets/js/extend/search/local-search.js
create mode 100644 templates/assets/js/halo.js
create mode 100644 templates/assets/js/heo.js
delete mode 100644 templates/assets/lib/lazyload.min.js
delete mode 100644 templates/assets/lib/qrcode.min.js
delete mode 100644 templates/assets/lib/rgbaster.min.js
delete mode 100644 templates/assets/lib/swiper.min.css
delete mode 100644 templates/assets/lib/swiper.min.js
delete mode 100644 templates/assets/lib/waterfall.min.js
create mode 100644 templates/assets/libs/clipboard/clipboard.min.js
create mode 100644 templates/assets/libs/color-thief/color-thief.umd.js
create mode 100644 templates/assets/libs/fancybox/jquery.fancybox.min.css
create mode 100644 templates/assets/libs/fancybox/jquery.fancybox.min.js
create mode 100644 templates/assets/libs/fast-average-color/index.browser.min.js
create mode 100644 templates/assets/libs/iconfont/iconfont.css
create mode 100644 templates/assets/libs/iconfont/iconfont.js
create mode 100644 templates/assets/libs/iconfont/iconfont.json
create mode 100644 templates/assets/libs/iconfont/iconfont.ttf
create mode 100644 templates/assets/libs/iconfont/iconfont.woff
create mode 100644 templates/assets/libs/iconfont/iconfont.woff2
create mode 100644 templates/assets/libs/instantpage/instantpage.min.js
create mode 100644 templates/assets/libs/lazyload/lazyload.iife.min.js
create mode 100644 templates/assets/libs/moments/app.min.js
create mode 100644 templates/assets/libs/moments/bundle.js
rename templates/assets/{css/var.css => libs/moments/heoMainColor.css} (64%)
create mode 100644 templates/assets/libs/moments/random-friends-post.js
rename templates/assets/{lib => libs/pjax}/pjax.min.js (100%)
rename templates/assets/{lib => libs/snackbar}/snackbar.min.css (100%)
rename templates/assets/{lib => libs/snackbar}/snackbar.min.js (100%)
create mode 100644 templates/assets/libs/swiper/swiper-bundle.min.css
create mode 100644 templates/assets/libs/swiper/swiper-bundle.min.js
create mode 100644 templates/assets/libs/tocbot/4.18.2/tocbot.css
create mode 100644 templates/assets/libs/tocbot/4.18.2/tocbot.min.js
create mode 100644 templates/assets/libs/twikoo/twikoo.all.min.js
rename templates/assets/{lib => libs/view-image}/view-image.min.js (100%)
create mode 100644 templates/assets/libs/waterfall/waterfall.min.js
create mode 100644 templates/assets/zhheo/blogex copy.js
create mode 100644 templates/assets/zhheo/blogex.js
create mode 100644 templates/assets/zhheo/commentBarrage.css
create mode 100644 templates/assets/zhheo/commentBarrage.js
create mode 100644 templates/assets/zhheo/commentBarrage.min.css
create mode 100644 templates/assets/zhheo/custom.css
create mode 100644 templates/assets/zhheo/custom.min.css
create mode 100644 templates/assets/zhheo/heo-fcircle3.css
create mode 100644 templates/assets/zhheo/heo-fcircle3mini.js
create mode 100644 templates/assets/zhheo/prism/prism.min.css
create mode 100644 templates/assets/zhheo/prism/prism.min.js
create mode 100644 templates/assets/zhheo/prism/themes/prism-a11y-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-atom-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-base16-ateliersulphurpool.light.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-cb.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-coldark-cold.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-coldark-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-coy-without-shadows.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-darcula.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-dracula.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-duotone-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-duotone-earth.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-duotone-forest.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-duotone-light.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-duotone-sea.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-duotone-space.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-ghcolors.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-gruvbox-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-gruvbox-light.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-holi-theme.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-hopscotch.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-lucario.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-material-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-material-light.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-material-oceanic.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-night-owl.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-nord.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-one-dark.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-one-light.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-pojoaque.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-shades-of-purple.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-solarized-dark-atom.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-synthwave84.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-vs.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-vsc-dark-plus.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-xonokai.css
create mode 100644 templates/assets/zhheo/prism/themes/prism-z-touch.css
create mode 100644 templates/assets/zhheo/rightmenu.js
rename templates/assets/{css/main.css => zhheo/zhheoblog.css} (71%)
create mode 100644 templates/assets/zhheo/zhheoblog.min.css
create mode 100644 templates/fcircle.html
create mode 100644 templates/modules/commentBarrage.html
create mode 100644 templates/modules/twikoo.html
create mode 100644 templates/modules/widgets/cardNewestComments.html
diff --git a/README.md b/README.md
index f7a7b60f..dde6f28f 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@
移植自 [Hexo](https://hexo.io/zh-cn/index.html) 社区中 [张洪 Heo](https://blog.zhheo.com/)
对 [Hexo-Theme-Butterfly](https://github.com/liuzhihang/halo-theme-hao)
-主题的魔改版本。同步参考 [Hexo-Theme-Acrylic-Next](https://github.com/hexo-theme-Acrylic/Hexo-Theme-Acrylic-Next)
+主题的魔改版本。
## 安装
diff --git a/annotation-setting.yaml b/annotation-setting.yaml
new file mode 100644
index 00000000..d3cfd0c8
--- /dev/null
+++ b/annotation-setting.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1alpha1
+kind: AnnotationSetting
+metadata:
+ generateName: annotation-setting-
+spec:
+ targetRef:
+ group: ""
+ kind: MenuItem
+ formSchema:
+ - $formkit: "text"
+ name: "icon"
+ label: "图标"
\ No newline at end of file
diff --git a/settings.yaml b/settings.yaml
index 84547bed..9331405e 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -37,6 +37,29 @@ spec:
label: 标题
placeholder: 请输入标题
help: '支持 HTML 语法,比如 ,留空为站点名称'
+ - $formkit: radio
+ name: article
+ label: 导航栏右侧(随机文章按钮开关)
+ value: true
+ options:
+ - label: 打开
+ value: true
+ - label: 关闭
+ value: false
+ - $formkit: radio
+ name: travelling
+ label: 导航栏右侧(开往按钮开关)
+ value: true
+ options:
+ - label: 打开
+ value: true
+ - label: 关闭
+ value: false
+ - $formkit: url
+ name: travellingUrl
+ label: 开往Url
+ placeholder: "请输入开往地址"
+ value: "https://travellings.link"
- group: top
label: 顶部
@@ -93,7 +116,6 @@ spec:
name: bikan
label: 必看精选
placeholder: 请输入地址
- validation: "url"
value: "/"
- $formkit: url
if: "$get(recentTop).value"
@@ -101,14 +123,12 @@ spec:
label: 热门文章
placeholder: 请输入地址
value: "/"
- validation: "url"
- $formkit: url
if: "$get(recentTop).value"
name: shiyong
label: 实用教程
placeholder: 请输入地址
value: "/"
- validation: "url"
- $formkit: radio
if: "$get(recentTop).value"
name: todayRecommend
@@ -134,17 +154,15 @@ spec:
name: todayRecommendUrl
label: 今日推荐跳转地址
placeholder: 请输入地址
- validation: "url"
- $formkit: text
name: todayRecommendTitle
label: 今日推荐标题
placeholder: 请输入标题
value: "今日推荐"
- - $formkit: url
+ - $formkit: attachment
name: todayRecommendCover
label: 今日推荐背景图
placeholder: 请输入地址
- validation: "url"
- $formkit: select
if: "$get(recentTop).value"
name: recommendPost
@@ -345,61 +363,61 @@ spec:
label: 图标
options:
- label: 电子邮箱
- value: fa-solid fa-envelope
+ value: icon-mail-line
- label: 微信
- value: fa-brands fa-weixin
- # - label: 公众号
- # value:
+ value: icon-wechat2
+ - label: 公众号
+ value: icon-weixingongzhonghao
- label: 腾讯 QQ
- value: fa-brands fa-qq
+ value: icon-qq-line
- label: 新浪微博
- value: fa-brands fa-weibo
+ value: icon-weibo-line
- label: 知乎
- value: fa-brands fa-zhihu
- # - label: 豆瓣
- # value:
+ value: icon-zhihu-line
+ - label: 豆瓣
+ value: icon-douban-line
- label: 哔哩哔哩
- value: fa-brands fa-bilibili
+ value: icon-bilibili-line
- label: GitHub
- value: fa-brands fa-github
+ value: icon-github-line
- label: GitLab
- value: fa-brands fa-gitlab
- # - label: 百度
- # value: icon-baidu-line
- # - label: 掘金
- # value: icon-juejin
- # - label: 语雀
- # value: icon-yuque
- # - label: 博客园
- # value: icon-CN_cnblogs
- # - label: CSDN
- # value: icon-csdn1
- # - label: LeetCode
- # value: icon-leetcode
- # - label: 头条
- # value: icon-jinritoutiao
+ value: icon-gitlab-line
+ - label: 百度
+ value: icon-baidu-line
+ - label: 掘金
+ value: icon-juejin
+ - label: 语雀
+ value: icon-yuque
+ - label: 博客园
+ value: icon-CN_cnblogs
+ - label: CSDN
+ value: icon-csdn1
+ - label: LeetCode
+ value: icon-leetcode
+ - label: 头条
+ value: icon-jinritoutiao
- label: 抖音 / TikTok
- value: fa-brands fa-tiktok
+ value: icon-douyin
- label: Telegram
- value: fa-brands fa-telegram
+ value: icon-telegram-line
- label: Facebook
- value: fa-brands fa-facebook
+ value: icon-facebook-box-line
- label: Instagram
- value: fa-brands fa-instagram
+ value: icon-instagram-line
- label: LinkedIn
- value: fa-brands fa-linkedin
+ value: icon-linkedin-box-line
- label: Twitter
- value: fa-brands fa-twitter
+ value: icon-twitter-line
- label: Slack
- value: fa-brands fa-slack
+ value: icon-slack-line
- label: Discord
- value: fa-brands fa-discord
+ value: icon-discord-line
- label: YouTube
- value: fa-brands fa-youtube
+ value: icon-youtube-line
- label: Steam
- value: fa-brands fa-steam
+ value: icon-steam-fill
- label: Dribbble
- value: fa-brands fa-dribbble
+ value: icon-dribbble-line
- $formkit: text
name: name
label: 名称
@@ -423,14 +441,12 @@ spec:
wechatImgFace:
wechatImgBack:
children:
- - $formkit: url
+ - $formkit: attachment
name: wechatImgFace
placeholder: 公众号正面图
- validation: "url"
- - $formkit: url
+ - $formkit: attachment
name: wechatImgBack
placeholder: 公众号背面图
- validation: "url"
help: 图片可以从公众号后台下载物料或者自制
- $formkit: number
name: tagQuantity
@@ -446,9 +462,95 @@ spec:
- group: footer
label: 页脚
formSchema:
+ - $formkit: attachment
+ name: centerImg
+ label: 社交媒体中间logo
+ help: logo图片链接
+ placeholder: 请填写logo图片链接
- $formkit: repeater
- name: socialMedia
- label: 社交媒体
+ name: socialMediaLeft
+ label: 社交媒体(左)
+ value: [ ]
+ children:
+ - $formkit: select
+ name: icon
+ label: 图标
+ options:
+ - label: 电子邮箱
+ value: icon-mail-line
+ - label: 微信
+ value: icon-wechat2
+ - label: 公众号
+ value: icon-weixingongzhonghao
+ - label: 腾讯 QQ
+ value: icon-qq-line
+ - label: 新浪微博
+ value: icon-weibo-line
+ - label: 知乎
+ value: icon-zhihu-line
+ - label: 豆瓣
+ value: icon-douban-line
+ - label: 哔哩哔哩
+ value: icon-bilibili-line
+ - label: GitHub
+ value: icon-github-line
+ - label: GitLab
+ value: icon-gitlab-line
+ - label: 百度
+ value: icon-baidu-line
+ - label: 掘金
+ value: icon-juejin
+ - label: 语雀
+ value: icon-yuque
+ - label: 博客园
+ value: icon-CN_cnblogs
+ - label: CSDN
+ value: icon-csdn1
+ - label: LeetCode
+ value: icon-leetcode
+ - label: 头条
+ value: icon-jinritoutiao
+ - label: 抖音 / TikTok
+ value: icon-douyin
+ - label: Telegram
+ value: icon-telegram-line
+ - label: Facebook
+ value: icon-facebook-box-line
+ - label: Instagram
+ value: icon-instagram-line
+ - label: LinkedIn
+ value: icon-linkedin-box-line
+ - label: Twitter
+ value: icon-twitter-line
+ - label: Slack
+ value: icon-slack-line
+ - label: Discord
+ value: icon-discord-line
+ - label: YouTube
+ value: icon-youtube-line
+ - label: Steam
+ value: icon-steam-fill
+ - label: Dribbble
+ value: icon-dribbble-line
+ - $formkit: text
+ name: name
+ label: 名称
+ - $formkit: text
+ name: url
+ label: 链接
+ - $formkit: radio
+ name: urlType
+ label: 链接类型
+ value: normal
+ help: "如果选择了图片类型,那么在访客点击之后会使用弹框的形式加载"
+ options:
+ - label: 跳转链接
+ value: normal
+ - label: 图片
+ value: image
+ - $formkit: repeater
+ name: socialMediaRight
+ label: 社交媒体(右)
value: [ ]
children:
- $formkit: select
@@ -554,6 +656,60 @@ spec:
label: 最近发布文章
value: 4
help: "最近发布的文章数量"
+ - $formkit: group
+ name: reward
+ label: 打赏
+ value:
+ enable_reward:
+ wxPay:
+ alipay:
+ reward_md_url:
+ children:
+ - $formkit: radio
+ name: enable_reward
+ help: 启用文章打赏,请正确填写名称和二维码图片链接
+ value: true
+ options:
+ - label: 启用
+ value: true
+ - label: 禁用
+ value: false
+ - $formkit: attachment
+ name: wxPay
+ label: 微信
+ help: 微信二维码图片链接
+ placeholder: 请填写微信二维码图片链接
+ - $formkit: attachment
+ name: alipay
+ label: 支付宝
+ help: 支付宝二维码图片链接
+ placeholder: 请填写支付宝二维码图片链接
+ - $formkit: url
+ name: reward_md_url
+ label: 赞赏者名单地址
+ placeholder: "请输入赞赏者名单地址"
+ value: "/about"
+ - $formkit: group
+ name: post_edit
+ label: 运营模式与责任
+ value:
+ enable_post_edit:
+ post_edit_url:
+ children:
+ - $formkit: radio
+ name: enable_post_edit
+ help: 启用文章运营模式与责任,请正确填写链接
+ value: true
+ options:
+ - label: 启用
+ value: true
+ - label: 禁用
+ value: false
+ - $formkit: url
+ name: post_edit_url
+ label: 运营模式与责任地址
+ placeholder: "请输入运营模式与责任地址"
+ value: "/rss"
- $formkit: radio
name: copyright
label: 版权声明
@@ -615,84 +771,39 @@ spec:
name: content
label: 我的介绍
value: 你好,很高兴认识你👋
我叫 程序员小航
是一名 前端开发工程师、后端开发工程师、全干工程师
-
help: 支持 HTML 语法
- $formkit: textarea
name: idea
label: 我的想法
value: 一定
记得
修改这块代码
优秀的产品 出色的设计 高效的编程 人性化的用户体验
help: 支持 HTML 语法
- - $formkit: text
- name: authorCareersTitle
- label: 职业生涯标题
- placeholder: 请输入内容
- - $formkit: repeater
- name: authorCareersTags
- label: 职业生涯标签
- value: [ ]
- children:
- - $formkit: color
- name: background
- label: 颜色
- - $formkit: text
- name: desc
- label: 描述
- - $formkit: url
- name: authorCareersBackground
- label: 职业生涯背景图
- placeholder: 建议找个透明图
- validation: "url"
- - $formkit: url
- name: authorCareersPhoto
- label: 图片
- validation: "url"
- value: https://p.zhheo.com/2023788ba3b8739936f844e64f483faacaf1085602.png!cover
- - $formkit: text
- name: authorInfoAddress
- label: 居住地
- placeholder: 请输入内容
- - $formkit: text
- name: authorInfoAddressBackground
- label: 居住地背景图
- placeholder: 请输入内容
- - $formkit: repeater
- name: authorInfo
- label: 个人信息
- value: [ ]
+ - $formkit: group
+ name: authorCareers
+ label: 职业生涯
+ value:
+ authorCareersTitle:
+ authorCareersTags:
+ authorCareersBackground:
children:
- $formkit: text
- name: authorInfoTitle
- label: 标题
+ name: authorCareersTitle
+ label: 职业生涯标题
placeholder: 请输入内容
- - $formkit: text
- name: authorInfoContent
- label: 内容
- placeholder: 请输入内容
- - $formkit: color
- name: authorInfoColor
- label: 内容颜色
- placeholder: 请输入内容
-
- - $formkit: repeater
- name: textarea
- label: 文本块
- min: 2
- max: 2
- help: 左边的一行10字 右面一行19字
- children:
- - $formkit: text
- name: tittle
- label: 文本块标题
- value: 座右铭
- - $formkit: text
- name: textarea_up
- label: 文本块(上)
- value: 生活原本沉闷,
- - $formkit: text
- name: textarea_down
- label: 文本块(下)
- value: 但跑起来就有风。
-
+ - $formkit: repeater
+ name: authorCareersTags
+ label: 职业生涯标签
+ value: [ ]
+ children:
+ - $formkit: color
+ name: background
+ label: 颜色
+ - $formkit: text
+ name: desc
+ label: 描述
+ - $formkit: attachment
+ name: authorCareersBackground
+ label: 职业生涯背景图
+ placeholder: 建议找个透明图
- $formkit: select
name: personalities
label: 人格
@@ -731,10 +842,272 @@ spec:
value: istj
- label: ESTJ
value: estj
+ - $formkit: attachment
+ name: authorCareersPhoto
+ label: 图片
+ value: https://p.zhheo.com/2023788ba3b8739936f844e64f483faacaf1085602.png!cover
+ - $formkit: repeater
+ name: textarea
+ label: 文本块
+ min: 2
+ max: 2
+ help: 左边的一行10字 右面一行19字
+ children:
+ - $formkit: text
+ name: tittle
+ label: 文本块标题
+ value: 座右铭
+ - $formkit: text
+ name: textarea_up
+ label: 文本块(上)
+ value: 生活原本沉闷,
+ - $formkit: text
+ name: textarea_down
+ label: 文本块(下)
+ value: 但跑起来就有风。
+ - $formkit: group
+ name: game
+ label: 爱好游戏相关配置
+ value:
+ game_tips:
+ game_title:
+ game_uid:
+ game_bg:
+ children:
+ - $formkit: text
+ name: game_tips
+ label: 爱好游戏提示文字
+ placeholder: 请输入内容
+ value: 爱好游戏
+ - $formkit: text
+ name: game_title
+ label: 爱好游戏标题
+ placeholder: 请输入内容
+ value: 英雄联盟
+ - $formkit: text
+ name: game_uid
+ label: 爱好游戏 uid
+ placeholder: 请输入内容
+ value: 比尔吉沃特
+ - $formkit: attachment
+ name: game_bg
+ label: 爱好游戏背景
+ placeholder: 请输入内容
+ value: https://img.zhheo.com/i/2022/08/31/630efa7ae39fe.webp
-
-
-
+ - $formkit: group
+ name: game2
+ label: 爱好游戏2相关配置
+ value:
+ game2_tips:
+ game2_title:
+ game2_uid:
+ game2_bg:
+ children:
+ - $formkit: text
+ name: game2_tips
+ label: 爱好游戏2提示文字
+ placeholder: 请输入内容
+ value: 爱好游戏
+ - $formkit: text
+ name: game2_title
+ label: 爱好游戏2标题
+ placeholder: 请输入内容
+ value: 狼人杀
+ - $formkit: text
+ name: game2_uid
+ label: 爱好游戏2 id
+ placeholder: 请输入内容
+ value: ID 1333E3FF
+ - $formkit: attachment
+ name: game2_bg
+ label: 爱好游戏2背景
+ placeholder: 请输入内容
+ value: https://img.zhheo.com/i/2022/08/31/630efa916a851.webp
+ - $formkit: group
+ name: like
+ label: 关注偏好相关配置
+ value:
+ like_tips:
+ like_title:
+ like_bottom:
+ like_bg:
+ children:
+ - $formkit: text
+ name: like_tips
+ label: 关注偏好配置提示文字
+ placeholder: 请输入内容
+ value: 关注偏好
+ - $formkit: text
+ name: like_title
+ label: 关注偏好配置标题
+ placeholder: 请输入内容
+ value: 数码科技
+ - $formkit: text
+ name: like_bottom
+ label: 关注偏好配置底部文字
+ placeholder: 请输入内容
+ value: 手机、电脑软硬件
+ - $formkit: attachment
+ name: like_bg
+ label: 关注偏好配置背景
+ placeholder: 请输入内容
+ value: https://img.zhheo.com/i/2022/08/31/630efac3ecef3.webp
+ - $formkit: group
+ name: music
+ label: 音乐偏好相关配置
+ value:
+ music_tips:
+ music_title:
+ music_link:
+ music_bg:
+ children:
+ - $formkit: text
+ name: music_tips
+ label: 音乐偏好提示性文字
+ placeholder: 请输入内容
+ value: 音乐偏好
+ - $formkit: text
+ name: music_title
+ label: 音乐偏好标题
+ placeholder: 请输入内容
+ value: Hiphop、民谣、华语流行
+ - $formkit: text
+ name: music_link
+ label: 音乐偏好按钮链接
+ placeholder: 请输入内容
+ value:
+ - $formkit: attachment
+ name: music_bg
+ label: 音乐偏好背景
+ placeholder: 请输入内容
+ value: https://img.zhheo.com/i/2022/08/31/630efae141e9a.webp
+ - $formkit: text
+ name: LingQueMonitorID
+ label: 51la网站统计配置
+ placeholder: 请输入内容
+ value: https://v6-widget.51.la/v6/K48u6B53QKqNs741/quote.js
+ - $formkit: group
+ name: map
+ label: 地图相关配置
+ value:
+ StrengthenTitle:
+ background:
+ backgroundDark:
+ authorInfo:
+ children:
+ - $formkit: text
+ name: StrengthenTitle
+ label: 居住地
+ placeholder: 请输入内容
+ - $formkit: attachment
+ name: background
+ label: 地图亮色模式背景
+ placeholder: 请输入内容
+ - $formkit: attachment
+ name: backgroundDark
+ label: 地图暗色模式背景
+ placeholder: 请输入内容
+ - $formkit: repeater
+ name: authorInfo
+ label: 个人信息
+ value: [ ]
+ children:
+ - $formkit: text
+ name: authorInfoTitle
+ label: 标题
+ placeholder: 请输入内容
+ - $formkit: text
+ name: authorInfoContent
+ label: 内容
+ placeholder: 请输入内容
+ - $formkit: color
+ name: authorInfoColor
+ label: 内容颜色
+ placeholder: 请输入内容
+ - $formkit: textarea
+ name: xjlc
+ label: 心路历程
+ value: 心路历程
为什么建站?
创建这个站的时候,想要就是能够有一个自己能够积累知识、积累兴趣的地方。和他人分享,会让这些成为积累和沉淀。如果能够帮助到更多的人,帮助更多人解决问题,那一定是非常棒的事情。
分享这件事我从很早就开始了,起初做的微信公众号,现在做的网站。因为我比较喜欢研究数码和软件,想要探究在互联网上的事物是如何被创造和发展。网络给我带来了非常多的知识和眼界,我也想力所能及的分享一些我生活的琐碎知识。
与大多数垂直类的技术博客不同,这里的种类会非常的繁杂,有技能的教程干货、有生活上的吐槽和妙招、有话题上的思考和想法。一般我研究什么、发现了什么都会分享在这里。
这些就是创造这个小站的本意,也是我分享生活的方式。有幸能和你相遇在这里,相信我们能共同留下一段美好记忆。
+ help: 支持 HTML 语法
+ - group: aboutReward
+ label: 个人(打赏名单)
+ formSchema:
+ - $formkit: text
+ name: title
+ label: 标题
+ placeholder: 请输入内容
+ value: 赞赏名单
+ - $formkit: text
+ name: content
+ label: 内容
+ placeholder: 请输入内容
+ value: 感谢赞赏的人,因为你们,让我感受到写博客这件事情能够给你们创造了价值。这会让我在这条路上走得更远。
+ - $formkit: group
+ name: reward
+ label: 打赏按钮
+ value:
+ enable_reward:
+ name:
+ content:
+ wxPay:
+ alipay:
+ children:
+ - $formkit: radio
+ name: enable_reward
+ help: 启用文章打赏,请正确填写名称和二维码图片链接
+ value: true
+ options:
+ - label: 启用
+ value: true
+ - label: 禁用
+ value: false
+ - $formkit: text
+ name: name
+ label: 按钮名称
+ placeholder: 请输入内容
+ value: 赞赏作者
+ - $formkit: text
+ name: content
+ label: 内容
+ placeholder: 请输入内容
+ value: 感谢你赐予我前进的力量
+ - $formkit: attachment
+ name: wxPay
+ label: 微信
+ help: 微信二维码图片链接
+ placeholder: 请填写微信二维码图片链接
+ - $formkit: attachment
+ name: alipay
+ label: 支付宝
+ help: 支付宝二维码图片链接
+ placeholder: 请填写支付宝二维码图片链接
+ - $formkit: repeater
+ name: reward_list
+ label: 打赏名单
+ value: [ ]
+ children:
+ - $formkit: text
+ name: name
+ label: 名称
+ placeholder: 请输入内容
+ - $formkit: text
+ name: amount
+ label: 金额
+ placeholder: 请输入内容
+ - $formkit: date
+ name: datatime
+ label: 时间
+ placeholder: 请输入内容
+ - $formkit: radio
+ name: sign
+ label: 标记
+ value: "N"
+ options:
+ - label: 是
+ value: "Y"
+ - label: 否
+ value: "N"
- group: style
label: 样式(WIP)
@@ -776,29 +1149,24 @@ spec:
value: true
- label: 关闭
value: false
- - $formkit: radio
- name: introduction
- label: 介绍框(WIP)
- value: true
- options:
- - label: 打开
- value: true
- - label: 关闭
- value: false
- $formkit: text
name: introductionTitle
label: 介绍框标题
- value: '欢迎使用主题 Hao'
+ value: '协议提醒助手'
- $formkit: text
name: introductionTip
label: 介绍框内容
- value: '⭐️ Star halo-theme-hao,提交主题建议或意见。'
+ value: '查看本站为你的个人隐私做出的努力'
- $formkit: url
name: introductionUrl
- validation: "url"
- value: "https://github.com/liuzhihang/halo-theme-hao"
+ value: "/privacy"
label: 介绍框点击跳转地址
placeholder: 请输入跳转 url
+ - $formkit: text
+ name: introductionName
+ value: "本站如何保护你的隐私"
+ label: 按钮标题
+ placeholder: 请输入按钮标题
- group: rightMenu
label: 右键菜单
@@ -857,7 +1225,89 @@ spec:
label: 按钮跳转连链接
placeholder: 请输入跳转 url
-
+ - group: fcircle
+ label: 友链鱼塘
+ formSchema:
+ - $formkit: url
+ name: backgroundImg
+ validation: "url"
+ label: 图片
+ value: https://img.cdn.yzczi.com/img/64624940e3623.jpeg
+ placeholder: 请输入图片地址
+ - $formkit: text
+ name: smallTitle
+ label: 小标题
+ value: 友链
+ - $formkit: text
+ name: bigTitle
+ label: 大标题
+ value: 最新文章订阅
+ - $formkit: text
+ name: detail
+ label: 描述
+ value: 使用 友链朋友圈 订阅友链最新文章
+ - $formkit: text
+ name: buttonTitle
+ label: 按钮标题
+ value: 部署项目
+ - $formkit: url
+ name: buttonUrl
+ validation: "url"
+ value: "https://github.com/Rock-Candy-Tea/hexo-circle-of-friends"
+ label: 按钮跳转连链接
+ placeholder: 请输入跳转 url
+ - $formkit: url
+ name: apiurl
+ value: "`https://moments.0206.ink/`"
+ label: token地址
+ placeholder: 请输入token地址
+ help: 注意格式 (`token地址`)
+ - $formkit: url
+ name: fetchUrl
+ value: "`https://moments.0206.ink/randomfriend?num=3`"
+ label: 页脚友链地址
+ placeholder: 请输入页脚友链地址
+ help: 注意格式 (`友链地址`)
+ - group: comments
+ label: 评论
+ formSchema:
+ - $formkit: select
+ name: use
+ label: 评论选择
+ value: commentWidget
+ help: Twikoo评论需要(打开,envId填写,accessToken填写)
+ options:
+ - label: 默认
+ value: commentWidget
+ - label: Twikoo评论
+ value: Twikoo
+ - $formkit: radio
+ name: twikoo
+ label: Twikoo评论
+ value: false
+ options:
+ - label: 打开
+ value: true
+ - label: 关闭
+ value: false
+ - $formkit: url
+ name: envId
+ value: "`xxxxxxx`"
+ label: Twikoo评论-环境id
+ placeholder: 请输入环境id
+ help: 注意格式 (`地址`)
+ - $formkit: text
+ name: accessToken
+ value: "`xxxxxxx`"
+ label: Twikoo评论-token
+ placeholder: 请输入token
+ help: 注意格式 (`token`)
+ - $formkit: text
+ name: mailMd5
+ value: "`xxxxxxx`"
+ label: Twikoo评论-mailMd5
+ placeholder: 请输入mailMd5
+ help: 注意格式 (`mailMd5`)
- group: other
label: 其他设置
formSchema:
@@ -874,6 +1324,7 @@ spec:
name: loadingBoxImg
validation: "url"
label: 加载页图片 URL
+ value: "https://bu.dusays.com/2023/03/03/6401a7960c0fb.webp"
placeholder: 请输入图片 url
- $formkit: radio
name: loadProgressBar
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 00000000..60d6691a
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
404
+
请尝试站内搜索寻找文章
+
回到主页
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/about.html b/templates/about.html
index 7281ff92..be4ba3d6 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -24,7 +24,8 @@
th:text="${authorTag.tag}">
-
![]()
+
-
-
-
+
我现在住在
-
-
+ [[${theme.config.about.map.StrengthenTitle}]]
-
-
-
+ th:if="${not #lists.isEmpty(theme.config.about.map.authorInfo)}"
+ th:with="texts = ${theme.config.about.map.authorInfo}">
+
生于2000
+
+
太原理工大学计算机科学
+
+
现在职业BI工程师
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ + [[${theme.config.aboutReward.reward.content}]] +
++ + +-
+
+
+
+
+ 微信
+
+
+
+ -
+
+
+
+
+ 支付宝
+
+
+
+
+