Skip to content

Commit

Permalink
Merge pull request #12 from can-dy-jack/version4
Browse files Browse the repository at this point in the history
更新版本号和说明文档
  • Loading branch information
can-dy-jack committed Jul 16, 2023
2 parents b71c235 + 87641f2 commit 844b32e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

> ! 本主题处于 version4 重构开发阶段 !
## 使用
### 方法一
npm 下载使用:
```bash
npm i hexo-theme-delicate
```

然后在根目录的 `_config.yml` 下配置 `theme: delicate` 并重启项目

### 方法二 **推荐**
git clone 本主题的文件:
```bash
git clone https://github.com/can-dy-jack/hexo-theme-delicate.git themes/delicate
```

然后在根目录的 `_config.yml` 下配置 `theme: delicate` 并重启项目

### 主题配置
到主题下的配置文件 `_config.yml` 进行配置。

如果您是使用方法一进行安装的,需要新建 `_config.delicate.yml` 文件,并将主题仓库下的配置文件复制进去进行配置。这种方式的缺点就是**每次更新主题配置并不会热更新,需要重启项目**,所以推荐方式二进行主题安装!

## 使用注意事项
本主题支持的语言如下
- 中文简体 `zh-CN`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-delicate",
"version": "4.0.0-alpha1",
"version": "4.0.0-alpha3",
"description": "simple but delicate theme for Hexo",
"main": "package.js",
"files": [
Expand Down

0 comments on commit 844b32e

Please sign in to comment.