Skip to content

External local input folder #1941

Answered by pdehaan
lucasnantonio asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting. I've never tried an input directory that only had SOME of the files (but not layout or other files).

Wonder if you need to solve that with a symlink or git submodule.

/journal
--- entry1.md
--- entry2.md

/ my-11ty-blog
--- _includes/
--- _data/
--- journal/ (symlinked to the folder above)
--- .eleventy.js
--- etc

This way your input directory can still be . and is at the same location as your _includes/ and global data folder. I can't see why it wouldn't work (famous last words), but it'd be a fun experiment.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pdehaan
Comment options

pdehaan Aug 21, 2021
Collaborator

@lucasnantonio
Comment options

Answer selected by lucasnantonio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants