foundation / panini

A super simple flat file generator.
Other
592 stars 104 forks source link

Absolute path for options #164

Open mou01 opened 6 years ago

mou01 commented 6 years ago

Hi, I would like to be able to provide an absolute path for the external data passed to pages,

for example:

panini({
        root: 'src/pages',
        layouts: 'src/layouts',
        partials: 'src/partials',
        helpers: 'src/helpers',
        data: '/tmp/user123/'
      })

Currently it appears that all option paths has to be in the current working directory of the (gulp) process

Vlasterx commented 6 years ago

This would be a very useful option. I've tried to use absolute routes here and it didn't work.