Replies: 1 comment
-
After a lot of fiddling (not used to web :)) it seems I found what to edit to make it work in the subfolder-case: In the original case of an external folder this is not quite enough it seems. When running in debug I can tell that it doesn't look at the
So it looks for specific todo data files and for folder template files for the parent folder but not for this folder. If I use a site.11tydata.js file instead (just to test) then I get an error that it can't find the title-case module. The module is available in the node_modules, but I get this:
|
Beta Was this translation helpful? Give feedback.
-
Hi Binyamin and thanks again for making this available.
One of the reasons I wanted to use eleventy is that content and SSG can be very separate. Your template works well with my content if I drop it in the Notes folder. However I did the following to try and move the content out:
input: "./",
to input:"./../site/site/",
It builds just fine and serves the page, I can navigate the links, but the backlinks are not included in the notes, the header menu is neither and the css doesn't apply (text is just left alligned and unformatted). Any idea where to look?
I tried reproducing by cloning and making a single commit here: https://github.com/asbjornb/test11tygarden
Could it be the
return collection.getFilteredByGlob(["notes/**/*.md", "index.md"]);
in .eleventy.js that doesn't return correctly when I make this change (using path relative to 11ty and not to input folder/output folder)?The reference to the css is in the head template and the head is referenced in the default but I don't see where the default is referenced - so I guess it just uses that as default. The paths for layouts, includes and _data seem to resolve without change (they must be relative to input).
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions