Zach’s ugly mug (his face) Zach Leat­herman

Mix and Match Template Syntax in Eleventy using the Render Plugin

November 15, 2021

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

Screenshot image for https://www.11ty.dev/docs/plugins/render/

Zach Leatherman is a builder for the web at Font Awesome and the creator of Build Awesome (née Eleventy/11ty), an award-winning open source website generator. He measures website performance with speedlify and at one point became too fixated on web fonts. He has given 86 talks in nine different countries at events like Beyond Tellerrand, Smashing Conference, Jamstack Conf, CSSConf, and The White House. Learn more about Zach »