LionUCS


New files not using directory template if files are in folder (in Windows)

Operating system

Windows 10

Eleventy

v2.0.1

Describe the bug

In windows (does not happen on my linux desktop), if input is a folder (instead of ./) pre-existing files, prior to serving, will build properly, but new files will not use the directory template at all.

I also tested in 1.0.1 and 1.0.2 and they work as expected

Reproduction steps

11ty init input = src output = public blog/blog.json layout = base.njk blog/newfile.md [11ty] Writing ./public/blog/newfile/index.html from ./src/blog/newfile.md (liquid) newfile/index.html is completely blank

Expected behavior

newfile/index.html should have layout markup from 'base.njk'

Reproduction URL

No response

Screenshots

No response