Reading Progress for NexT
Change dir to NexT directory. There must be layout
, source
, languages
and other directories:
$ cd themes/next
$ ls
bower.json _config.yml docs gulpfile.coffee languages layout LICENSE.md package.json README.md scripts source test
Install module to source/lib
directory:
$ git clone https://github.com/theme-next/theme-next-reading-progress source/lib/reading_progress
Enable module in NexT _config.yml
file:
reading_progress:
enable: true
color: "#37c6c0"
height: 2px
And, if you wants to use the CDN, then need to set:
vendors:
...
reading_progress: //cdn.jsdelivr.net/gh/theme-next/theme-next-reading-progress@1/reading_progress.min.js
$ cd themes/next/source/lib/reading_progress
$ git pull