Menu icon Foundation
Can I use yml global vars in Sherpa Styleguide?

Hello,

Im using Zurb Templates for Sites and would like to use the global variables in /data/somefile.yml in the Sherpa Styleguide. Its currently working for all the files in /pages but not for the styleguide. I can see that panini is used to do this, but im not sure how to update the gulp.babel.js file to get this working within the styleguide function. 

Any help would be much appreciated! 

~ Carlo 

 

zurb templatesymlsherpastyleguidesitesgulp.babel.jsglobal variables

Hello,

Im using Zurb Templates for Sites and would like to use the global variables in /data/somefile.yml in the Sherpa Styleguide. Its currently working for all the files in /pages but not for the styleguide. I can see that panini is used to do this, but im not sure how to update the gulp.babel.js file to get this working within the styleguide function. 

Any help would be much appreciated! 

~ Carlo