metalsmith / layouts

A metalsmith plugin for layouts
MIT License
116 stars 49 forks source link

wrong layouts directory with nunjucs #70

Closed tiagoantao closed 8 years ago

tiagoantao commented 8 years ago

I have a standard

{{ extends "base.html" }}

entry on my nunjucs templates.

But when I run the plugin it will not read the base.html from the layouts/ directory but from the root of my project:

/
  base.html <-- used
  /layouts
    base.html <-- ignored
ismay commented 8 years ago

Yeah that differs from engine to engine. But you should be able to set the basepath for your nunjucks instance. Let me know if that doesn't work.