move templating into hiccup templates

send variables to hiccup templates through *view-context* like Joodo