Skip to navigation Skip to main content
11ty Logo Sustainability Fundraising
Eleventy
Eleventy Documentation
Stable
2.0.1
Canary
3.0.0-alpha.10
Toggle Menu
Eleventy 1.93s
Next.js 70.65s

HAML

Contents

Eleventy Short Name File Extension npm Package
haml .haml haml.js

You can override a .haml file’s template engine. Read more at Changing a Template’s Rendering Engine.

HAML Options Jump to heading

Optional: Set your own Library instance Jump to heading

As an escape mechanism for advanced usage, pass in your own instance of the HAML library using the Configuration API.

module.exports = function (eleventyConfig) {
let haml = require("hamljs");
eleventyConfig.setLibrary("haml", haml);
};

Supported Features Jump to heading

Feature Syntax
🚫 Filters Not yet supported :filterName some text Read more about Filters.
🚫 Eleventy Universal Filters Not yet supported :filterName some text Read more about Filters.

Other pages in Template Languages: