11ty

Eleventy Documentation

This documentation is for an older version. Go to the newest Eleventy docs or check out the full release history.

Documentation Pages

Haml

Template Languages:

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

Optional: Set your own Library instance

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

Feature Syntax
🚫 TODO Filters :filterName some text Read more about Filters.
🚫 TODO Eleventy Universal Filters :filterName some text Read more about Filters.