Skip to content

Commit

Permalink
📝 v0.8.2 Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxerLee authored Oct 1, 2020
1 parent 0e58315 commit 0f37306
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Terran
[![](https://img.shields.io/badge/author-Foxerlee-blue)](https://github.com/FoxerLee) ![](https://img.shields.io/github/issues/Foxerlee/hexo-theme-terran) ![](https://img.shields.io/github/v/release/foxerlee/hexo-theme-terran) ![](https://img.shields.io/github/release-date/foxerlee/hexo-theme-terran) ![](https://img.shields.io/badge/Hexo-4.0.0%20or%20later-blue) ![](https://img.shields.io/badge/license-MIT-green)

轻量、简洁的 Hexo 主题:Terran(名字源自:星际争霸,虽然和主题一点无关233)

Expand All @@ -16,6 +17,40 @@
![friends](assets/about.png)
</details>

## 使用方法

### 安装

1. 下载基本代码

```bash
git clone https://github.com/FoxerLee/hexo-theme-terran.git themes/terran
```

2. 安装必要扩展

```bash
npm i --save hexo-wordcount
```

### 设置

修改博客本身的 `_config.yml`

```yaml
# 修改为
theme: terran
```
### 更新
```bash
cd themes/terran
git pull origin master
```

本主题支持动态更新而不需重新替换原始主题配置文件。使用方法为:在 `source/_data/` 中创建 `temp.yml` 文件,该文件与主题的 `_config.yml` 文件等效,且优先级更高,也不会在 `git pull` 之后被更新。如果你希望经常更新主题,建议使用该文件。

## 主题配置

``` yaml
Expand Down Expand Up @@ -140,4 +175,6 @@ about:
### 鼓励
![](https://img.shields.io/github/stars/foxerlee/hexo-theme-terran?style=social)
主题宗旨:轻量简洁,开箱即用,如果觉得本主题还不错,欢迎 **[Star](https://github.com/FoxerLee/hexo-theme-terran/stargazers)**,您的支持是我继续更新的动力~

0 comments on commit 0f37306

Please sign in to comment.