panini icon indicating copy to clipboard operation
panini copied to clipboard

Absolute path for options

Open mou01 opened this issue 7 years ago • 1 comments

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

mou01 avatar Apr 10 '18 20:04 mou01

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

vsjov avatar May 20 '18 14:05 vsjov