(ns example) (:use compojure) (:use haml-macro)) (defroutes greeter (GET "/hello/:first/:last" (haml "example")))
you can change the directory where the templates are searched with:
haml is compiled to clojure code, you need to reload your module from REPL to see your changes in HAML.
you can put layouts in the views/layouts directory, by default it will be loaded a views/layouts/application.haml. It should behave like the normal ruby haml layouts, using "yield":
%html %body = yield