教程:
1.进入博客的 /themes/next 目录下
2.下载安装,Progress modules,输入代码如下:
1 2
| git clone git@github.com:theme-next/theme-next-pace.git source/lib/pace 网上很多教程都是输入https的链接进行下载,但是现在git好像不支持https下载了,应该使用ssh进行下载。
|
3.打开主题配置文件,themes/next目录下的_config.yml文件,可以使用 ctrl+f搜索pace,之后将enable:false改成true,还可以更改类型(theme):
1 2 3 4 5 6
| pace: enable: true # Themes list: # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal theme: minimal
|
最后重新部署博客就好啦。