mirror of https://github.com/jkjoy/sunpeiwen.git
64 lines
1.6 KiB
Markdown
64 lines
1.6 KiB
Markdown
|
---
|
||
|
abbrlink: ''
|
||
|
categories:
|
||
|
- - hexo
|
||
|
date: ''
|
||
|
excerpt: '...'
|
||
|
tags:
|
||
|
- hexo
|
||
|
title: Hexo使用指南
|
||
|
updated: 2023-6-13T14:24:12.438+8:0
|
||
|
---
|
||
|
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).
|
||
|
|
||
|
## Quick Start
|
||
|
|
||
|
### Create a new post
|
||
|
|
||
|
```bash
|
||
|
$ hexo new "My New Post"
|
||
|
```
|
||
|
|
||
|
More info: [Writing](https://hexo.io/docs/writing.html)
|
||
|
|
||
|
### Run server
|
||
|
|
||
|
```bash
|
||
|
$ hexo server
|
||
|
```
|
||
|
|
||
|
More info: [Server](https://hexo.io/docs/server.html)
|
||
|
|
||
|
### Generate static files
|
||
|
|
||
|
```bash
|
||
|
$ hexo generate
|
||
|
```
|
||
|
|
||
|
More info: [Generating](https://hexo.io/docs/generating.html)
|
||
|
|
||
|
### Deploy to remote sites
|
||
|
|
||
|
```bash
|
||
|
$ hexo deploy
|
||
|
```
|
||
|
|
||
|
```
|
||
|
This is my website, click the button {% btn 'https://butterfly.js.org/',Butterfly,,outline %}
|
||
|
This is my website, click the button {% btn 'https://butterfly.js.org/',Butterfly,far fa-hand-point-right,outline %}
|
||
|
{% btn 'https://butterfly.js.org/',Butterfly,far fa-hand-point-right,green larger %}
|
||
|
|
||
|
{% label text color %}
|
||
|
|
||
|
```
|
||
|
|
||
|
demo
|
||
|
|
||
|
This is my website, click the button {% btn 'https://butterfly.js.org/',Butterfly,,outline %}
|
||
|
This is my website, click the button {% btn 'https://butterfly.js.org/',Butterfly,far fa-hand-point-right,outline %}
|
||
|
{% btn 'https://butterfly.js.org/',Butterfly,far fa-hand-point-right,green larger %}
|
||
|
|
||
|
{% label text color %} test {% label test color %}
|
||
|
|
||
|
More info: [Deployment](https://hexo.io/docs/one-command-deployment.html)
|