-
Hi, anyone got any suggestions for how to fix/debug the following? I get variations of this error: There are a couple of issues related to it, but I wasn't able to apply them to my issue. The latter one suggests it was resolved by fixing layout paths, and I'd guess that's likely my issue. In eleventy.js I have:
In the src folder, my folders are structured:
In my post.html layout template file:
In my base.html layout template file:
The debug error message seems to suggest its a general issue with the post.html template. Many thanks in advance for any advice/solutions! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your directories seem to be prefixed with underscores on the file system, but in your config file, you dropped all the underscores so now eleventy presumably can’t find the directories or files does this work? dir: {
input: 'src',
output: 'dist',
includes: '_includes',
layouts: '_layouts',
data: '_data'
} |
Beta Was this translation helpful? Give feedback.
Your directories seem to be prefixed with underscores on the file system, but in your config file, you dropped all the underscores so now eleventy presumably can’t find the directories or files
does this work?