寂静·流年

[冰与火的交缠,无法平息的灵魂]

hexoNexT主题添加搜索非常简单,而且效果很好,需要用到第三方插件hexo-generator-searchdb

安装hexo-generator-searchdb

1
npm install hexo-generator-searchdb

修改站点配置文件_config.yml

_config.yml中添加下面内容

1
2
3
4
5
6
search:
path: search.xml
field: post
content: true
format: html

修改NexT配置文件_config.next.yml

阅读全文 »

下载vmware内核补丁

虽然是17.5.1版本的,但经实测,完全兼容17.5.2

1
wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.5.1.tar.gz

解压文件

1
tar -xzf workstation-17.5.1.tar.gz

进入解压后的文件目录

1
2
cd vmware-host-modules-workstation-17.5.1/

阅读全文 »

NexT主题最新版本已经不支持自动摘要设置了,需要用的第三方插件hexo-abbrlink

安装hexo-exerpt

1
npm install hexo-excerpt --save

设置hexo-excerpt

hexo的配置文件_config.yml中,加入下面的内容:

1
2
3
4
5
excerpt:
depth: 5
excerpt_excludes: []
more_excludes: []
hideWholePostExcerpts: true

配置用户名

1
git config --global user.name "Your Name"

配置邮箱:

1
git config --global user.email "email@example.com"

保存密码

1
git config --global credential.helper store

设置代理

阅读全文 »
0%