为什么高度在我 /历史记录夹中寻找模板?
由于某种原因,高架是在我 /历史文件夹中寻找模板,我已经对此进行了更改。有没有办法停止此?
现在,当我运行构建时,发生以下错误:
[11ty] 2. (./.history/_includes/layouts/base_20220423223526.njk)
[11ty] Error: template not found: partials/navigation.njk (via Template render error)
[11ty]
[11ty] Original error stack trace: Template render error: (./.history/_includes/layouts/base_20220423223526.njk)
[11ty] Error: template not found: partials/navigation.njk
如果您想看一下,这是我的回购: https://github.com/dulzorigo/elevendzorigo/elevent-tailwind
https://github.com/thirusofficial/elevconeficial/elev10-tailwind
For some reason Eleventy is looking for templates in my /history folder, which I have already made changes to. Is there a way to stop this?
Now when I run my build the following error occurs:
[11ty] 2. (./.history/_includes/layouts/base_20220423223526.njk)
[11ty] Error: template not found: partials/navigation.njk (via Template render error)
[11ty]
[11ty] Original error stack trace: Template render error: (./.history/_includes/layouts/base_20220423223526.njk)
[11ty] Error: template not found: partials/navigation.njk
Here is my repo if you would like to have a look:
https://github.com/dulzorigo/eleventy-tailwind
Forked from:
https://github.com/ThirusOfficial/eleventy-tailwind
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,高度处理提供的输入文件夹中的所有文件,在这种情况下,这是您项目的根源。要忽略某些文件夹或文件,您可以创建一个
.eleventyignore
包含.history
的文件。请参阅高度文档,有关更多信息。By default, Eleventy processes all files in your provided input folder, which is the root of your project in this case. To have Eleventy ignore certain folders or files, you can create an
.eleventyignore
file containing.history
. See the Eleventy documentation for more information.