Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.22 KB

File metadata and controls

58 lines (46 loc) · 1.22 KB

USER GUIDE

安装

克隆主题仓库

cd <path/to/your/hexo/blog>
cd themes
git clone git@github.com:syy11cn/hexo-theme-linear.git linear

启用主题

博客根目录 下的 _config.yml 文件中:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: linear

themes/linear/_config.yml 中:

# `favicon` 地址,建议使用在线地址
favicon:

# 是否显示署名-相同方式共享 4.0 国际协议
declaration: true

# 个人链接 - 将展示在页面上方,博客标题和副标题之下
## 图标基础地址(如果部署在 https://username.github.io/repo/ 下,需要改为 `/repo/images/links/`)
linkiconbase: /images/links/
## 个人链接数组
links:
  - name: # 图标挂掉时显示的文字
    link: # 链接地址
    icon: # 图标名称,`themes/linear/source/images/links/` 文件夹下提供图标文件,有需要也可以自行添加。图标文件来源:

# comment
valine:
  enabled: true
  appId:
  appKey:
  placeholder:
  avatar:

# footer
## for users in China
icp:
## visitor counter
counter:
  enabled: true
  ### refer to https://github.com/syy11cn/hexo-theme-linear/blob/main/docs/guide.md
  url: