Software Alternatives & Reviews

Haml VS Nunjucks

Compare Haml VS Nunjucks and see what are their differences

Haml logo Haml

HTML Abstraction Markup Language - A Markup Haiku

Nunjucks logo Nunjucks

Nunjucks offers node templates with inheritance, asynchronous control.
  • Haml Landing page
    Landing page //
    2021-09-22
  • Nunjucks Landing page
    Landing page //
    2019-10-20

Haml videos

How to Get Baby in Urdu&Hindi | Hamal Check krny ka Treeka | Haml Ghar Ma Chk Krain | Get B In Urdu

Nunjucks videos

No Nunjucks videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to Haml and Nunjucks)
Javascript UI Libraries
38 38%
62% 62
Programming
100 100%
0% 0
Development
28 28%
72% 72
Tool
0 0%
100% 100

User comments

Share your experience with using Haml and Nunjucks. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Nunjucks might be a bit more popular than Haml. We know about 20 links to it since March 2021 and only 17 links to Haml. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Haml mentions (17)

  • Building a syntax highlighting extension for VS Code
    First of all, I like Slim. I like the beauty and cleanness of Slim templates, to me they are way more readable than regular ERB templates and I think they fit in the ruby/Rails ecosystem very well. Slim is a close cousin to Haml, without the ugly percent characters, haha. I've used Slim exclusively in my projects since about 2016. - Source: dev.to / 6 months ago
  • Hamlet: A type-safe Haml template engine for Go
    > I can't say what problem it is supposed to solve "Haml accelerates and simplifies template creation" https://haml.info/ If you'd rather write raw HTML, keeping track of closing tags etc, then don't use HAML. No need to bash it because you personally feel it is ugly or unnecessary. FWIW I personally feel the exact opposite. - Source: Hacker News / 4 months ago
  • Hamlet: A type-safe Haml template engine for Go
    There is a better side by side of the syntax here https://haml.info (i've been using haml for 17 years lol, I find it more enjoyable to read and write). - Source: Hacker News / 4 months ago
  • Any web frameworks that could compare to Symfony?
    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed. Source: about 1 year ago
  • Rux: A JSX-inspired way to render view components in Ruby
    Does this support HAML-style syntax? We're 100% HAML-only for templating, whether normal Rails views or ViewComponent... https://github.com/haml/haml so going back to writing HTML or ERB feels like a huge downgrade. - Source: Hacker News / about 1 year ago
View more

Nunjucks mentions (20)

  • How to Integrate Astro With ApostropheCMS pt. 1
    In ApostropheCMS, templates are where code and content become web pages. Specifically, templates are written in normal HTML markup with special tags and are based on the Nunjucks template language. Thus, they are .html files placed in the /views subfolder of an ApostropheCMS module. - Source: dev.to / about 1 month ago
  • How to Build an Ecommerce Website with ApostropheCMS
    This starter Kit has been created by Corllete in partnership with Apostrophe. From a technical point of view, the ecommerce project is based on several UI components. Each of them relies entirely on Tailwind CSS for styling, with no additional CSS files. These components are organized in macros and fragments coming from the default server-side template engine Nunjucks. - Source: dev.to / 2 months ago
  • Django Template Development
    So there's Nunjucks, a frontend templating language inspired by jinja2, which itself is based on the Django template language. You could try that, and mock in data from JSON when required until you're ready to use real Django. Source: about 1 year ago
  • Repeating Navigation, Header, and Footer in CSS and HTML?
    Take a look on Nunjucks a templating language by Mozilla . You can use Gulp to start with it, check gulp-nunjucks-render. Source: over 1 year ago
  • How to have multiple HTML pages have the same template layout?
    Try out Nunjucks https://mozilla.github.io/nunjucks/ . It does exactly what you want. Source: over 1 year ago
View more

What are some alternatives?

When comparing Haml and Nunjucks, you can also consider the following products

Handlebars - Handlebars is a JavaScript template library that is, more or less, based on ...

Jinja2 - Jinja2 is a template engine written in Python.

Pug - Pug is a robust, elegant, feature rich template engine for Node.js

EJS - An open source JavaScript Template library.

jquery-template - A template plugin for jQuery. Allows templating without cluttering JavaScript code with markup.

Apache Velocity - Velocity is a Java-based template engine.