Eleventy: Relative includes in Nunjucks

Created on 8 Aug 2018  路  2Comments  路  Source: 11ty/eleventy

Unearthed in #189

Nunjucks seems to support this, per https://github.com/mozilla/nunjucks/pull/349

This is already tested as working in Pug and EJS. There are probably other engines that need tests here. Worth testing in Liquid too.

bug

Most helpful comment

Buncha stuff landed here for this. Tests and docs for Relative Includes are now fully supported in:

All 2 comments

Also the include_relative Liquidjs feature reported in https://24ways.org/2018/turn-jekyll-up-to-eleventy/ by @paulrobertlloyd

(on second look include_relative doesn鈥檛 seem to be available in liquidjs 馃槄)

Buncha stuff landed here for this. Tests and docs for Relative Includes are now fully supported in:

Was this page helpful?
0 / 5 - 0 ratings