jquery-lazyload for NexT

Installation

Step 1 → Go to NexT dir

Change dir to NexT directory. There must be layout, source, languages and other directories:

1
2
3
$ cd themes/next
$ ls
bower.json _config.yml docs gulpfile.coffee languages layout LICENSE.md package.json README.md scripts source test

Step 2 → Get module

Install module to source/lib directory:

1
$ git clone https://github.com/theme-next/theme-next-jquery-lazyload source/lib/jquery_lazyload

Step 3 → Set it up

Enable module in NexT _config.yml file:

1
lazyload: true

Update

1
2
$ cd themes/next/source/lib/jquery_lazyload
$ git pull