Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LionUCS opened this issue Jun 19, 2024 · 0 comments
Open
Labels
feature: 🏔 data cascade Issues related to the Data Cascade feature needs-triage

Comments

@LionUCS
Copy link

LionUCS commented Jun 19, 2024

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

@zachleat zachleat added the feature: 🏔 data cascade Issues related to the Data Cascade feature label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: 🏔 data cascade Issues related to the Data Cascade feature needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants