replace hardcoded templates with haml-coffee templates