代码拉取完成,页面将自动刷新
这是一个简约的hexo主题,慢慢完善吧,能力有限哈哈,目前还需要有更多修复完善的地方。
git clone https://github.com/lnzu/hexo-theme-lnzu themes/lnzu
theme: lnzu
安装插件
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' #此项不要修改
新建一个页面
hexo new page tags
打开hexo目录下source/tags/index.md修改如下
---
title: tags
date: 2020-05-21 11:44:15
type: tags
---
新建一个页面
hexo new page categories
打开hexo目录下source/categories/index.md修改如下
---
title: categories
date: 2020-05-21 12:18:13
type: categories
---
新建一个页面
hexo new page search
打开hexo目录下source/search/index.md修改如下
---
title: search
date: 2020-05-21 10:52:16
type: search
---
#主题风格样式 light dark
colorscheme: light
menu:
home: /
about: /about/
search: /search
tags: /tags
categories: /categories
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。