Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add your own Handlebars partial directlyto Eleventy
// via
module.exports = function(eleventyConfig) {
let handlebars = require("handlebars");
// see
handlebars.registerPartial("name", "Handlebars syntax");
eleventyConfig.setLibrary("hbs", handlebars);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment