halo-theme-hao/README.md

167 lines
8.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div align="center">
<img width="100px" src="https://cdn.jsdelivr.net/gh/sun0225SUN/hao-docs/assets/images/logo.png">
<h1>Halo-Theme-Hao</h1>
<p align="center">
[主题预览](#预览) |
[快速上手](#安装) |
[使用文档](https://docs.liuzhihang.com) |
[更新日志](#更新日志) |
[加入我们](#加入我们)
</p>
</div>
<table>
<tr>
<td>
<img src="https://cdn.jsdelivr.net/gh/sun0225SUN/hao-docs/assets/images/Halo-Theme-Hao-White.jpg"/>
</td>
<td>
<img src="https://cdn.jsdelivr.net/gh/sun0225SUN/hao-docs/assets/images/Halo-Theme-Hao-Black.jpg"/>
</td>
</tr>
</table>
## 预览
- 程序员小航:[https://liuzhihang.com](https://liuzhihang.com)
- 小孙同学:[https://blog.sunguoqi.com](https://blog.sunguoqi.com)
- Lanbin の 知识库:[http://lib.lanbin.top](http://lib.lanbin.top)
- AirboZH 的博客:[https://www.airbozh.cn](https://www.airbozh.cn)
- 好招彭于晏:[http://blog.xinsiwei.vip](http://blog.xinsiwei.vip)
## 简介
&emsp;&emsp;[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 是一款适用于 [Halo2.x](https://github.com/halo-dev/halo) 的博客主题。
&emsp;&emsp;移植自 [Hexo](https://hexo.io/zh-cn/index.html) 社区中 [张洪 Heo](https://blog.zhheo.com/)
对 [Hexo-Theme-Butterfly](https://github.com/liuzhihang/halo-theme-hao)
主题的魔改版本。
## 安装
&emsp;&emsp;在 [Release](https://github.com/liuzhihang/halo-theme-hao/releases) 页面下载最新版本 `zip` 后,通过 `Halo Console` 安装上传即可。
&emsp;&emsp;详细文档请参考:[https://docs.halo.run/user-guide/themes](https://docs.halo.run/user-guide/themes)
## 功能
> 部分功能使用插件实现
- [x] 卡片化设计
- [x] 多栏设置,支持单栏/双栏/三栏/四栏
- [x] 自定义封面图位置,上部/左侧/右侧
- [x] 响应式主题
- [x] 夜间模式
- [x] 文章阅读模式
- [x] [文章目录](https://github.com/liuzhihang/plugin-tocbot)(插件)
- [x] [代码高亮/语言/复制](https://github.com/liuzhihang/plugin-prismjs)(插件)
- [x] [文章搜索](https://github.com/halo-sigs/plugin-search-widget)(插件)
- [x] 显示字数统计
- [x] 显示相关文章
- [x] 文章过期提醒
- [x] [评论系统](https://github.com/halo-sigs/plugin-comment-widget)(插件)
- [x] [懒加载](https://github.com/liuzhihang/plugin-lazyload)(插件)
- [x] [评论邮件通知](https://github.com/pannanxu/halo-plugin-email)(插件)
- ...
## 许可
&emsp;&emsp;[Halo-Theme-Hao](https://github.com/liuzhihang/halo-theme-hao) 使用 [GPL-v3.0](./LICENSE) 协议开源,请遵守开源协议。
## 贡献
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://shyblog.world/"><img src="https://avatars.githubusercontent.com/u/50973219?v=4?s=100" width="100px;" alt="sunheyi"/><br /><sub><b>sunheyi</b></sub></a><br /><a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=shy-share" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Joydevelop"><img src="https://avatars.githubusercontent.com/u/79132319?v=4?s=100" width="100px;" alt="Joy"/><br /><sub><b>Joy</b></sub></a><br /><a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=Joydevelop" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://johnniang.me"><img src="https://avatars.githubusercontent.com/u/16865714?v=4?s=100" width="100px;" alt="John Niang"/><br /><sub><b>John Niang</b></sub></a><br /><a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=JohnNiang" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://lanbinovo.cn"><img src="https://avatars.githubusercontent.com/u/62149873?v=4?s=100" width="100px;" alt="Lanbin"/><br /><sub><b>Lanbin</b></sub></a><br /><a href="#tutorial-lanbinshijie" title="Tutorials"></a></td>
<td align="center" valign="top" width="14.28%"><a href="https://sunguoqi.com/"><img src="https://avatars.githubusercontent.com/u/79169717?v=4?s=100" width="100px;" alt="小孙同学"/><br /><sub><b>小孙同学</b></sub></a><br /><a href="#tutorial-sun0225SUN" title="Tutorials"></a> <a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=sun0225SUN" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://airbozh.cn"><img src="https://avatars.githubusercontent.com/u/50261327?v=4?s=100" width="100px;" alt="airbo"/><br /><sub><b>airbo</b></sub></a><br /><a href="#tutorial-AirboZH" title="Tutorials"></a> <a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=AirboZH" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/gadore"><img src="https://avatars.githubusercontent.com/u/18081104?v=4?s=100" width="100px;" alt="Gadore"/><br /><sub><b>Gadore</b></sub></a><br /><a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=gadore" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.hydsb0.com"><img src="https://avatars.githubusercontent.com/u/64968400?v=4?s=100" width="100px;" alt="羡羡"/><br /><sub><b>羡羡</b></sub></a><br /><a href="https://github.com/liuzhihang/halo-theme-hao/commits?author=xyhcode" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## 更新日志
> 小版本每周五更新
### ⏱2023/2/17 🏷v1.0.9
- 新增:根据 htmlType属性 设置页面Title
- 修复:默认参数造成的主页布局不整齐
- 修复修复侧栏专栏没用text的问题
- 修复:更新手机端侧栏相关字段名称
- 优化美化主题Readme.md主题文档采用 Vuepress 构建
### ⏱2023/2/11 🏷v1.0.8
- 新增 文章顶部导航栏显示文章标题 #77
- 新增 建站天数图标 #79
- 新增 文章发表时间 #86 #90
- 新增 归档页以及分页 #95
- 修复 首页文章 分类角标 模糊效果错位问题#73
- 修复右键菜单中 标签和分类路径错误问题 #74
- 修复“阅读建议 ”为“0”时不生效的问题 #76
- 修复 文章随机图重复的问题 #84
- 修复 评论组件不能切换暗色主题的问题
- 增加 文章 - 最近发布文章 数量设置 #88
- 更新 文章 - 动态主色 的说明文字更新 文章-动态主色 的说明文字 #83
### ⏱2023/2/4 🏷v1.0.7
- 移除 font-awesome
### ⏱2023/1/30 🏷v1.0.6
- 修复 侧边栏配置的 `分类``标签` 模块
## 加入我们
&emsp;&emsp;如果你对主题有什么建议或者意见,欢迎提 PR & issue。
&emsp;&emsp;想了解更多信息可以关注 「 程序员小航 」。
![程序员小航](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)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
本工具使用 JetBrains IDEA 进行开发
----
<a href="https://www.jetbrains.com/?from=Toolkit"><img src="https://cdn.jsdelivr.net/gh/liuzhihang/oss/pic/article/jetbrains-logo-MrNwcp.png" width="20%" height="20%"></a><a href="https://www.jetbrains.com/?from=Toolkit"><img src="https://cdn.jsdelivr.net/gh/liuzhihang/oss/pic/article/idea-logo-XpnqgG.png" width="20%" height="20%"> </a>