1 Star 0 Fork 0

林竹 / hexo-theme-lnzu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

hexo-theme-lnzu

这是一个简约的hexo主题,慢慢完善吧,能力有限哈哈,目前还需要有更多修复完善的地方。

主题项目地址

预览地址

配置安装主题

1.安装

git clone https://github.com/lnzu/hexo-theme-lnzu themes/lnzu

2.hexo站点配置文件下修改**_config.yml**

theme: lnzu

3.主题使用了hexo-prism-plugin插件高亮代码

安装插件

npm i -S hexo-prism-plugin

在hexo根目录下的**_config.yml**下修改

highlight:
  enable: false
  line_number: false
  auto_detect: 
  tab_replace: ''
  wrap: true
  hljs: false

prism_plugin:
  mode: 'preprocess'    # realtime/preprocess
  theme: 'default'
  line_number: ture    # default false
  custom_css: 'path/to/your/custom.css' #此项不要修改

4.标签云页

新建一个页面

hexo new page tags

打开hexo目录下source/tags/index.md修改如下

---
title: tags
date: 2020-05-21 11:44:15
type: tags
---

5.分类页

新建一个页面

hexo new page categories

打开hexo目录下source/categories/index.md修改如下

---
title: categories
date: 2020-05-21 12:18:13
type: categories
---

6.搜索页

新建一个页面

hexo new page search

打开hexo目录下source/search/index.md修改如下

---
title: search
date: 2020-05-21 10:52:16
type: search
---

7.主题下的_config.yml配置选项

#主题风格样式 light dark
colorscheme: light

menu:
  home: /
  about: /about/
  search: /search
  tags: /tags
  categories: /categories

空文件

简介

这是一个简约的hexo主题 展开 收起
CSS 等 4 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
CSS
1
https://gitee.com/lnzu/hexo-theme-lnzu.git
git@gitee.com:lnzu/hexo-theme-lnzu.git
lnzu
hexo-theme-lnzu
hexo-theme-lnzu
master

搜索帮助