.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
-
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
.eleventyignore
Option 2: using
.eleventy.js
Do you have any suggestions to fix this?
Thanks a lot!
(cross-posted on Discord)
Beta Was this translation helpful? Give feedback.
All reactions