Live data from Hacker News

Show HN: Polly: A templating language for Rust

gitlab.com

21–22 of 22 posts

Re: Show HN: Polly: A templating language for Rust

#21

Really, I think Hiccup is the best solution in this space. Prefer logic-less functions to output html strings? Hiccup has this use case covered. This is all stock Clojure[script], not a templating language: (def foo [:h2 "something cool"]) (hiccup.core/html foo) ;;=> " something cool " Plus there's plenty of ways to quickly build up a bootstrap (, etc) page. (defn bootstrap-page [hiccup-form] (hiccup.page/html5 (hicc…

Hiccup is wonderful, almost makes it painful to go back to jade/erb/jinja/etc after working on a project with hiccup.

Re: Show HN: Polly: A templating language for Rust

#22

Really, I think Hiccup is the best solution in this space. Prefer logic-less functions to output html strings? Hiccup has this use case covered. This is all stock Clojure[script], not a templating language: (def foo [:h2 "something cool"]) (hiccup.core/html foo) ;;=> " something cool " Plus there's plenty of ways to quickly build up a bootstrap (, etc) page. (defn bootstrap-page [hiccup-form] (hiccup.page/html5 (hicc…

CL-WHO is an often forgotten grandfather of Hiccup - http://weitz.de/cl-who/

Also here's a quick list of some other CL-WHO alternatives - http://stackoverflow.com/questions/671572/cl-who-like-html-t...

Post reply on HN