mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-15 00:17:12 +08:00
61 lines
1.6 KiB
Markdown
61 lines
1.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)| [行为准则](https://github.com/hexojs/hexo/blob/master/CODE_OF_CONDUCT.md)| [API](https://hexo.io/api/) | [Twitter](https://twitter.com/hexojs)
|
||
|
||
## 特征
|
||
|
||
- 快速生成
|
||
- 支持 GitHub Flavored Markdown 和大多数 Octopress 插件
|
||
- 一条命令即可部署到 GitHub Pages、Heroku 等。
|
||
- 强大的 API,实现无限扩展
|
||
- 数百个[主题](https://hexo.io/themes/)和[插件](https://hexo.io/plugins/)
|
||
|
||
## 快速入门
|
||
|
||
**安装 Hexo**
|
||
|
||
```
|
||
$ npm install hexo-cli -g
|
||
```
|
||
|
||
在 macOS 和 Linux 上使用[brew](https://brew.sh/)安装:
|
||
|
||
```
|
||
$ brew install hexo
|
||
```
|
||
|
||
**设置你的博客**
|
||
|
||
```
|
||
$ hexo init blog
|
||
$ cd blog
|
||
```
|
||
|
||
**启动服务器**
|
||
|
||
```
|
||
$ hexo server
|
||
```
|
||
|
||
**创建新帖子**
|
||
|
||
```
|
||
$ hexo new "Hello Hexo"
|
||
```
|
||
|
||
**生成静态文件**
|
||
|
||
```
|
||
$ hexo generate
|
||
```
|
||
|
||
## 更多信息
|
||
|
||
- 阅读[文档](https://hexo.io/)
|
||
- 访问[精彩 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)了解最新消息 |