layout template to hamlc
template should be haml