Hacker News new | ask | show | jobs
by eterps 1068 days ago
SLIM is similar, but a bit cleaner: https://github.com/mattn/go-slim

Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.

1 comments

Is HTML really that scary for people?
HTML isn’t a templating language like HAML or Slim are.
I haven't seen many projects where people attempt to use SLIM templates as an alternative to HTML; rather, they are used as a complement. SLIM is for deeply nested structures and layouts, while HTML is for actual content.