87 lines
3.6 KiB
Markdown
87 lines
3.6 KiB
Markdown

|
||
|
||
# Hexo
|
||
|
||
> 一个快速、简单且强大的博客框架,由 [Node.js](https://nodejs.org) 驱动。
|
||
|
||
[网站](https://hexo.io) | [文档](https://hexo.io/docs/) | [安装指南](https://hexo.io/docs/#Installation) | [贡献指南](https://hexo.io/docs/contributing) | [行为准则](CODE_OF_CONDUCT.md) | [API](https://hexo.io/api/) | [推特](https://twitter.com/hexojs)
|
||
|
||
[](https://www.npmjs.com/package/hexo)  [](https://github.com/hexojs/hexo/actions?query=workflow%3ATester) [](https://libraries.io/npm/hexo) [](https://coveralls.io/r/hexojs/hexo?branch=master) [](https://gitter.im/hexojs/hexo) [](https://discord.gg/teM2Anj) [](https://t.me/hexojs) [](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_shield) [](CODE_OF_CONDUCT.md)
|
||
|
||
## 功能
|
||
|
||
* 闪电般的生成速度
|
||
* 支持 GitHub Flavored Markdown 和大多数 Octopress 插件
|
||
* 一键部署到 GitHub Pages、Heroku 等
|
||
* 强大的 API,无限可扩展
|
||
* 数百个[主题](https://hexo.io/themes/) & [插件](https://hexo.io/plugins/)
|
||
|
||
## 快速开始
|
||
|
||
**安装 Hexo**
|
||
|
||
```bash
|
||
$ npm install hexo-cli -g
|
||
```
|
||
|
||
使用 [brew](https://brew.sh/) 在 macOS 和 Linux 上安装:
|
||
|
||
```bash
|
||
$ brew install hexo
|
||
```
|
||
|
||
**设置您的博客**
|
||
|
||
```bash
|
||
$ hexo init blog
|
||
$ cd blog
|
||
```
|
||
|
||
**启动服务器**
|
||
|
||
```bash
|
||
$ hexo server
|
||
```
|
||
|
||
**创建一篇新文章**
|
||
|
||
```bash
|
||
$ hexo new "Hello Hexo"
|
||
```
|
||
|
||
**生成静态文件**
|
||
|
||
```bash
|
||
$ hexo generate
|
||
```
|
||
|
||
## 更多信息
|
||
|
||
* 阅读[文档](https://hexo.io/)
|
||
* 访问 [Awesome Hexo](https://github.com/hexojs/awesome-hexo) 列表
|
||
* 找到[故障排除](https://hexo.io/docs/troubleshooting.html)中的解决方案
|
||
* 在 [Google Group](https://groups.google.com/group/hexo)、[Discord](https://discord.gg/teM2Anj)、[Gitter](https://gitter.im/hexojs/hexo) 或 [Telegram](https://t.me/hexojs) 上参与讨论
|
||
* 在 wiki 上查看[插件列表](https://hexo.io/plugins/)和[主题列表](https://hexo.io/themes/)
|
||
* 关注 [@hexojs](https://twitter.com/hexojs) 获取最新消息
|
||
|
||
## 贡献
|
||
|
||
我们欢迎您加入 Hexo 的开发。请参阅[贡献文档](https://hexo.io/docs/contributing) 。🤗
|
||
|
||
此外,我们也欢迎向[官方插件](https://github.com/hexojs)提交 PR 或 issue。
|
||
|
||
## 贡献者
|
||
|
||
[](https://github.com/hexojs/hexo/graphs/contributors)
|
||
|
||
## 支持者
|
||
|
||
[](https://opencollective.com/hexo)
|
||
|
||
## 赞助商
|
||
|
||
[](https://linktr.ee/rss3)
|
||
|
||
## 许可证
|
||
|
||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_large) |