Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (29 loc) · 1.16 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.16 KB

If you want fancybox v3, please go to theme-next-fancybox3

Installation

Step 0 → Delete fancybox 3 (if you want to downgrade from v3)

$ rm -rf themes/next/source/lib/fancybox

Step 1 → Go to NexT dir

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

Step 2 → Get module

Install module to source/lib directory:

$ git clone https://github.com/theme-next/theme-next-fancybox source/lib/fancybox

Step 3 → Set it up

Enable module in NexT _config.yml file:

fancybox: true

Update

$ cd themes/next/source/lib/fancybox
$ git pull