Hexo博客NexT主题美化之顶部加载进度条

1.转到NexT目录

1
cd themes/next

2.获取模块

1
git clone https://github.com/theme-next/theme-next-pace source/lib/pace

3.设置

在NexT _config.yml文件中启用模块并选择您的主题:

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

参考

GITHUB地址

简书地址

坚持原创技术分享,您的支持将鼓励我继续创作!