Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.47 KB

haml.md

File metadata and controls

32 lines (25 loc) · 1.47 KB
eleventyNavigation layout
parent key order
Template Languages
HAML
10
layouts/langs.njk
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 {% addedin "0.3.0" %}

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
🚫 Filters Not yet supported :filterName some text Read more about Filters.
🚫 Eleventy Universal Filters Not yet supported :filterName some text Read more about Filters.