Skip to content

Liquid render tag #1579

Answered by pdehaan
renestalder asked this question in Q&A
Jan 6, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I think it might depend on how you install 11ty (npm vs GitHub).

I found harttle/liquidjs#163 which mentions that LiquidJS support for the render tag was added in v9.2.0.

If I look at the current/latest 11ty package.json (master branch), it appears that the LiquidJS version is ^9.16.1 (yay!). Although, if I look at the 11ty v0.11.x branch, it appears that the LiquidJS version is set to ^6.4.3 (not yay), which might explain why [if you're installing via npm] the included version of LiquidJS isn't aware of the render tag.


Actually, here's a little snippet that I dropped in my local .eleventy.js config file to test:

const eleventy = require("@11ty/eleventy/package.json");
const liquidjs = r…

Replies: 1 comment 2 replies

Comment options

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

@pdehaan
Comment options

pdehaan Jan 8, 2021
Collaborator

Answer selected by renestalder
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