🔖 3.0.0 發佈

This commit is contained in:
Jerry committed 2020-08-05 22:02:23 +08:00
1 parent 8f27859cea
commit 065093e217
6 files changed
+46 -7

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ IMPORTANT: Please follow the template to create a new issue.
重要:請依照該模板來提交。
If you upgrade from the old version, and an error occurs when running, please copy the new content in the config to the butterfly.yml
如果你是由舊版本升級到新版,執行時出現報錯,請首先把config裡新的內容複製到舊的butterfly設定去
如果你是由舊版本升級到新版,執行時出現報錯,請首先把config裡新的內容複製到舊的butterfly設定去(如有)
If you are a problem when visit the website, please open your browser 'developer tools (shortcut F12)' and check the console if there is an error, include your website address in the feedback
如果你是線上訪問出現問題,請檢查瀏覽器‘開發人員工具(快捷鍵F12)’的console是否有報錯,反饋時附上你的網站
+12
View File
@@ -15,6 +15,8 @@ Based on [hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody) t
## Installation
### GIT
Stable branch [recommend]:
```
@@ -27,6 +29,16 @@ Dev branch:
git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
```
### NPM
> It supports Hexo 5.0.0 or later
In Hexo site root directory
```powershell
npm i hexo-theme-butterfly
```
## Configuration
Set theme in the hexo work folder's root config file `_config.yml`:
+15 -3
View File
@@ -16,18 +16,30 @@
## 安裝
在你的博客根目錄裡安裝穩定版【推薦】
### Git 安裝
```
在博客根目錄裡安裝穩定版【推薦】
```powershell
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
```
如果想要安裝比較新的dev分支,可以
```
```powershell
git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
```
### npm 安裝
> 此方法只支持Hexo 5.0.0以上版本
在博客根目錄裡
```powershell
npm i hexo-theme-butterfly
```
## 應用主題
修改hexo配置文件`_config.yml`,把主題改為`Butterfly`
Loaded 3 of 6 files, more files were not shown because too many files have changed in this diff. Show more