Use partials globally without relative paths #2600
Unanswered
codecansdev
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I don't have much experience w/ Handlebars (generally preferring LiquidJS or Nunjucks), but you might be able to use the https://www.11ty.dev/docs/config/#directory-for-includes directory. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi,
I am starting to work with eleventy and handlebars migrating a website which used handlebars-loader for webpack https://github.com/pcardune/handlebars-loader and I was wondering if there is a way to allow partials to be defined in a directory and used globally without relative paths in eleventyjs, like the partialDirs option in handlebars-loader allows us to do?
Thank you in advance for your reply,
Paulo
Beta Was this translation helpful? Give feedback.
All reactions