|
|
2 yıl önce | |
|---|---|---|
| .. | ||
| source | 2 yıl önce | |
| LICENSE | 2 yıl önce | |
| README.html | 2 yıl önce | |
$ rm -rf themes/next/source/lib/fancyboxChange 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 testInstall module to source/lib directory:
$ git clone https://github.com/theme-next/theme-next-fancybox3 source/lib/fancyboxEnable module in NexT _config.yml file:
fancybox: trueAnd, if you wants to use the CDN, then need to set:
vendors:
...
fancybox: //cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.js
fancybox_css: //cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.css$ cd themes/next/source/lib/fancybox
$ git pull