.eleventyignore: Ignore a whole folder except for one template file
#3267
Unanswered
xplosionmind
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I have a git submodule that I am adding inside the repository of my website, but I want it to be ignored, except for its
README.md.I have tried two different approaches. In both cases I am able to exclude the git submodule, but I can’t find a way to include the README and use it as a regular template.
Option 1: using
.eleventyignoreOption 2: using
.eleventy.jsDo you have any suggestions to fix this?
Thanks a lot!
(cross-posted on Discord)
Beta Was this translation helpful? Give feedback.
All reactions