Zach’s ugly mug (his face) Zach Leatherman

Mix and Match Template Syntax in Eleventy using the Render Plugin

November 15, 2021 Tagged: Eleventy Project

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
Zach’s ugly mug (his face)

Zach is a builder for the web at IndieWeb Avatar for He created IndieWeb Avatar for https://www.11ty.devEleventy (11ty), an award-winning open source site generator. At one point he became entirely too fixated on web fonts. He has given 72 talks in nine different countries at events like Jamstack Conf, Beyond Tellerrand, Smashing Conference, CSSConf, and The White House. Formerly part of Netlify, Filament Group, NEJS CONF, and NebraskaJS.

< Newer
The Eleventy API Explorer
Older >
How to add Authentication to your Eleventy Site
Shamelessly plug your related post

These are webmentions via the IndieWeb and

Sharing on social media?

This is what will show up when you share this post on Social Media:

How did you do this? I automated my Open Graph images. (Peer behind the curtain at the test page)