diff --git a/.all-contributorsrc b/.all-contributorsrc index 5c633639..2a6101f5 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,6 +1,16 @@ { "skipCi": true, "contributors": [ + { + "login": "liuzhihang", + "name": "liuzhihang", + "avatar_url": "https://avatars.githubusercontent.com/u/26057042?v=4", + "profile": "https://liuzhihang.com/", + "contributions": [ + "code", + "tutorial" + ] + }, { "login": "shy-share", "name": "sunheyi", @@ -62,7 +72,7 @@ "name": "Gadore", "avatar_url": "https://avatars.githubusercontent.com/u/18081104?v=4", "profile": "https://github.com/gadore", - "contributions": [ + "contributions": [ "code" ] }, @@ -74,6 +84,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 +106,6 @@ "commit": false, "imageSize": 100, "linkToUsage": true, - "contributorsPerLine": 6 + "contributorsPerLine": 6, + "commitType": "docs" } diff --git a/README.md b/README.md index d21b4fb4..bf1612fb 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [主题预览](#预览) | [快速上手](#安装) | [使用文档](https://docs.liuzhihang.com) | -[加入我们](#加入我们) +[加入我们](#讨论)

@@ -27,30 +27,48 @@ - 程序员小航:[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) 主题的魔改版本。 ## 安装 -  在 [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) - +在 [Release](https://github.com/liuzhihang/halo-theme-hao/releases) 页面下载最新版本 `zip` 后,通过 `Halo Console` 安装上传即可。 ## 使用 -###   [点我查看正在编写中的文档](https://docs.liuzhihang.com) +### [点我查看正在编写中的文档](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! + -[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-) @@ -59,16 +77,29 @@ - - - - - - - - + + + + + + + + + + + + + + + + +
sunheyi
sunheyi

💻
Joy
Joy

💻
John Niang
John Niang

💻
Lanbin
Lanbin

小孙同学
小孙同学

💻
airbo
airbo

💻
Gadore
Gadore

💻
羡羡
羡羡

💻
liuzhihang
liuzhihang

💻
sunheyi
sunheyi

💻
Joy
Joy

💻
John Niang
John Niang

💻
Lanbin
Lanbin

小孙同学
小孙同学

💻
airbo
airbo

💻
Gadore
Gadore

💻
羡羡
羡羡

💻
困困鱼
困困鱼

💻
+ + Add your contributions + +
@@ -76,38 +107,11 @@ -## 许可 +## 指标 -  [Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 使用 [GPL-v3.0](./LICENSE) 协议开源,请遵守开源协议。 +![Alt](https://repobeats.axiom.co/api/embed/7cb154a9a3fe9cda4fe1a982bdd20adb760edf20.svg "Repobeats analytics image") -## 加入我们 +> 本项目使用 JetBrains IDEA 进行开发 -  如果你对主题有什么建议或者意见,欢迎提 PR & issue。 - -  想了解更多信息可以关注 「 程序员小航 」。 - -![程序员小航](https://liuzhihang.com/themes/theme-hao/assets/images/wechat/wechat1.png) - -- 发送 "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 进行开发 ----- - + + 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": { } } diff --git a/settings.yaml b/settings.yaml index ec3f3de3..d6e81ee7 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,7 +628,7 @@ spec: - label: 跳转链接 value: normal - label: 图片 - value: image + value: image - $formkit: menuRadio name: menu label: 底部相关链接 @@ -645,8 +645,8 @@ spec: name: fetchUrl value: "`https://moments.0206.ink/randomfriend?num=3`" label: 页脚友链地址 - placeholder: 请输入页脚友链地址 - help: 注意格式 (`友链地址`) + placeholder: 请输入页脚友链地址 + help: 注意格式 (`友链地址`) - group: post label: 文章 @@ -671,6 +671,39 @@ 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: false + 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: 运营模式与责任 @@ -846,7 +879,7 @@ spec: - $formkit: attachment name: authorCareersBackground label: 职业生涯背景图 - placeholder: 建议找个透明图 + placeholder: 建议找个透明图 - $formkit: select name: personalities label: 人格 @@ -937,7 +970,7 @@ spec: label: 爱好游戏背景 placeholder: 请输入内容 value: https://img.zhheo.com/i/2022/08/31/630efa7ae39fe.webp - + - $formkit: group name: game2 label: 爱好游戏2相关配置 @@ -1019,7 +1052,7 @@ spec: name: music_link label: 音乐偏好按钮链接 placeholder: 请输入内容 - value: + value: - $formkit: attachment name: music_bg label: 音乐偏好背景 @@ -1068,7 +1101,7 @@ spec: - $formkit: color name: authorInfoColor label: 内容颜色 - placeholder: 请输入内容 + placeholder: 请输入内容 - $formkit: textarea name: xjlc label: 心路历程 @@ -1095,8 +1128,6 @@ spec: name: wxPay: alipay: - enable_reward_wz: - reward_md_url: children: - $formkit: radio name: enable_reward_wz @@ -1114,7 +1145,7 @@ spec: value: "/about" - $formkit: radio name: enable_reward - help: 启用关于页面打赏 + help: 启用文章打赏,请正确填写名称和二维码图片链接 value: false options: - label: 启用 @@ -1162,7 +1193,7 @@ spec: value: "Y" - label: 否 value: "N" - + - group: style label: 样式(WIP) formSchema: @@ -1314,9 +1345,9 @@ spec: name: apiurl value: "`https://moments.0206.ink/`" label: token地址 - placeholder: 请输入token地址 - help: 注意格式 (`token地址`) - + placeholder: 请输入token地址 + help: 注意格式 (`token地址`) + - group: comments label: 评论 formSchema: 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