Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rootlexme committed Feb 17, 2023
2 parents 799941b + 68cb0dc commit 9c48277
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 23 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Heo & rootlex

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 7 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="/source/img/heo.png" alt="Logo" width="80" height="80">
</a>

<h3 align="center">Heoweb</h3>
<h3 align="center">Hexo - Heoweb</h3>

<p align="center">
一个基于Heoweb开发的Hexo主页主题
Expand All @@ -14,7 +14,7 @@
<br />
<a href="https://zhheo.com/">原项目 Demo</a>
·
<a href="https://www.nalex.top/"> Demo</a>
<a href="https://www.nalex.top/">此项目 Demo</a>
·
<a href="https://github.com/rootlexblog/Heoweb/issues">Bug反馈</a>
</p>
Expand All @@ -27,15 +27,15 @@

此项目是基于原项目 [zhheo/HeoWeb](https://github.com/zhheo/HeoWeb) 进行修改,并移植至Hexo

## 安装
## 💻 安装
### 请确保在安装之前您有Hexo运行环境

```BASH
git clone -b master https://github.com/rootlexblog/Heoweb.git themes/heoweb
```

<!-- USAGE EXAMPLES -->
## 使用
## 使用

1.修改根目录的`config`配置

Expand All @@ -46,23 +46,12 @@ git clone -b master https://github.com/rootlexblog/Heoweb.git themes/heoweb
theme: heoweb
```

<br>
2.在主题根目录创建一个 _config.heoweb.yml 配置文件
<br>
3.将 /themes/heoweb 中的 _config.yml 粘贴到 _config.heoweb.yml 中
2.在主题根目录创建一个`_config.heoweb.yml`配置文件

<!-- ROADMAP -->
## Roadmap

- [ ] Feature 1
- [ ] Feature 2
- [ ] Feature 3
- [ ] Nested Feature

See the [open issues](https://github.com/rootlexblog/Heoweb/issues) for a full list of proposed features (and known issues).
3.将`/themes/heoweb`中的`_config.yml`粘贴到`_config.heoweb.yml`

<!-- CONTRIBUTING -->
## Contributing
## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

Expand Down
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ firstWarp:
img: /img/avatar.webp

#页面设置
page:
博客:
page: #您可以随意调整顺序或增加组件
博客: # 组件
type: warp #页面类型warp/item
warp:
bg: '' #页面背景,仅warp可以填写,当为空时输出默认
Expand All @@ -48,7 +48,7 @@ page:
text: Pix主题
url: https://pixit.cn/
img: /img/boke.webp #图片
项目:
项目: # 组件
type: item
item:
title: 项目
Expand All @@ -72,7 +72,7 @@ page:
button:
text: Github
url: https://github.com/Kindle-deep/hugo-theme-Kenny
Cdn:
Cdn: # 组件
type: warp #页面类型warp/item
warp:
bg: "linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%)" #页面背景颜色,仅warp可以填写,当为空时输出默认
Expand All @@ -86,7 +86,7 @@ page:
text: Pix主题
url: https://pixit.cn/
img: /img/cdn.png #图片
媒体:
媒体: # 组件
type: item
item:
title: 联系我
Expand Down

0 comments on commit 9c48277

Please sign in to comment.