root 82e5466511 blog now with auto update | 1 rok pred | |
---|---|---|
.. | ||
LICENSE | 1 rok pred | |
README.html | 1 rok pred | |
pace-theme-barber-shop.min.css | 1 rok pred | |
pace-theme-big-counter.min.css | 1 rok pred | |
pace-theme-bounce.min.css | 1 rok pred | |
pace-theme-center-atom.min.css | 1 rok pred | |
pace-theme-center-circle.min.css | 1 rok pred | |
pace-theme-center-radar.min.css | 1 rok pred | |
pace-theme-center-simple.min.css | 1 rok pred | |
pace-theme-corner-indicator.min.css | 1 rok pred | |
pace-theme-fill-left.min.css | 1 rok pred | |
pace-theme-flash.min.css | 1 rok pred | |
pace-theme-flat-top.min.css | 1 rok pred | |
pace-theme-loading-bar.min.css | 1 rok pred | |
pace-theme-mac-osx.min.css | 1 rok pred | |
pace-theme-material.min.css | 1 rok pred | |
pace-theme-minimal.min.css | 1 rok pred | |
pace.min.js | 1 rok pred |
Change dir to NexT directory. There must be layout
, source
, languages
and other directories:
$ cd themes/next
$ ls
_config.yml crowdin.yml docs gulpfile.js languages layout LICENSE.md package.json README.md scripts source
Install module to source/lib
directory:
$ git clone https://github.com/theme-next/theme-next-pace source/lib/pace
Enable module in NexT _config.yml
file and select your theme:
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
And, if you wants to use the CDN, then need to set: (you also need to find your corresponding theme css link in jsdelivr)
vendors:
...
pace: //cdn.jsdelivr.net/npm/pace-js@1/pace.min.js
pace_css: //cdn.jsdelivr.net/npm/pace-js@1/themes/blue/pace-theme-minimal.css
$ cd themes/next/source/lib/pace
$ git pull