0.1
This commit is contained in:
parent
e4e5eba849
commit
c63db778f9
79
README.md
79
README.md
@ -1,5 +1,78 @@
|
||||
# geeklc
|
||||
一款十分简洁的 Hexo 博客主题
|
||||
**一款十分简洁的 Hexo 博客 Geek 主题**
|
||||
|
||||
## 演示
|
||||
|
||||
> 演示地址:https://geek.lc
|
||||
|
||||
### 黑色风格
|
||||
|
||||
![1.png](./imgs/1.png)
|
||||
|
||||
![3.png](./imgs/3.png)
|
||||
|
||||
### 白色风格
|
||||
|
||||
![2.png](./imgs/2.png)
|
||||
|
||||
![4.png](./imgs/4.png)
|
||||
|
||||
## 为什么要自己开发
|
||||
|
||||
- 因为一直在用 `WordPress`,服务器奔溃,数据丢失了
|
||||
- 从此不想用笨重的程序了,所以采用纯静态博客,最后选择了 **`Hexo`**
|
||||
- 找了目前市面上的主题,没有我喜欢的简洁主题,于是亲自操刀(瞎折腾)搞了这款主题
|
||||
- 主题命名就是博客的域名 :**`Geek`**
|
||||
|
||||
## 使用说明
|
||||
|
||||
|
||||
git clone https://github.com/sanjinhub/hexo-theme-geek.git geek
|
||||
### 1.下载
|
||||
|
||||
进入 **Hexo** -> **themes** 目录下
|
||||
|
||||
命令下执行:
|
||||
|
||||
```
|
||||
git clone https://github.com/sanjinhub/hexo-theme-geek.git geek
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
进入 **Hexo** -> **themes** 目录下,下载主题解压到当前文件夹下,改名为 **geek**
|
||||
|
||||
|
||||
### 2.修改主题
|
||||
|
||||
修改 **hexo** -> **_config.yml** 的 **theme** 为 **geek**
|
||||
|
||||
### 3.配置主题
|
||||
|
||||
```
|
||||
# 首页博客名称
|
||||
logo_title: GEEK 三斤
|
||||
|
||||
# 默认主题风格 black or white
|
||||
style: black
|
||||
|
||||
# 主题 ico
|
||||
favicon: /favicon.ico
|
||||
|
||||
# 主题菜单
|
||||
# 需要新建页面:hexo new page "页面地址"
|
||||
menu:
|
||||
作品: /project
|
||||
域名: /domain
|
||||
友联: /links
|
||||
关于: /about
|
||||
Github: https://github.com/sanjinhub
|
||||
|
||||
# valine 评论 , 使用说明见 https://valine.js.org
|
||||
# 做了域名限制,请改成自己的 KEY
|
||||
valine:
|
||||
appId: CmCti21ooOOIzFOhEyFkFvR0-gzGzoHsz
|
||||
appKey: FqiyUqbg7McKN2eG0MCewupf
|
||||
|
||||
# 关闭 Hexo 自带代码高亮
|
||||
highlight:
|
||||
enable: false
|
||||
```
|
BIN
imgs/1.png
Normal file
BIN
imgs/1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 293 KiB |
BIN
imgs/2.png
Normal file
BIN
imgs/2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 294 KiB |
BIN
imgs/3.png
Normal file
BIN
imgs/3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 856 KiB |
BIN
imgs/4.png
Normal file
BIN
imgs/4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 851 KiB |
@ -4,10 +4,10 @@
|
||||
<input type="checkbox" name="switch" id="update_style">
|
||||
<span class="el-switch-style"></span>
|
||||
</label>
|
||||
<script type="text/javascript">
|
||||
<!-- <script type="text/javascript">
|
||||
var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");
|
||||
document.write(unescape("%3Cspan id='cnzz_stat_icon_1278548644'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "v1.cnzz.com/stat.php%3Fid%3D1278548644%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
</script> -->
|
||||
</p>
|
||||
</div>
|
||||
<input type="hidden" id="web_style" value="<%= theme.style %>">
|
||||
|
BIN
source/favicon.ico
Normal file → Executable file
BIN
source/favicon.ico
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 766 B |
Loading…
Reference in New Issue
Block a user