Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I like even more the idea of being able to have a HTML/CSS/etc expert, who doesn't necessarily know Clojure, be able to maintain the HTML instead of me.

Check out Enlive, it solves exactly this problem. HTML/CSS is separate from Clojure code and you fill out templates and stuff via CSS style selectors. It's sweet.

https://github.com/swannodette/enlive-tutorial

https://github.com/cgrand/enlive

Btw I think you can use Enlive with Noir, even though some of the examples from Noir use Hiccup, it's not a requirement.



That tutorial is truly excellent - I’ve been looking for something to replace Hiccup, and this looks to be it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: