This content originally appeared on Zach Leatherman and was authored by Zach Leatherman
This plugin adds new renderTemplate
and renderFile
shortcodes to Eleventy projects for mixing and matching rendering in a single parent template!
I’m super excited about what this can unlock:
- Did someone else write a Nunjucks plugin you want to use? But you only use Liquid templates? Yes.
- Do you have a Vue component for your navigation but use Nunjucks for everything else? Yes.
- Do you want to render some of your template as Markdown? Yes.
This was also one of the most-upvoted/requested features on our enhancement backlog, opened June 2018 with ×54 👍’s.
Read the Docs
https://www.11ty.dev/docs/plugins/render/
This content originally appeared on Zach Leatherman and was authored by Zach Leatherman
Zach Leatherman | Sciencx (2021-11-15T06:00:00+00:00) Mix and Match Template Syntax in Eleventy using the Render Plugin. Retrieved from https://www.scien.cx/2021/11/15/mix-and-match-template-syntax-in-eleventy-using-the-render-plugin/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.