fix rendering of haml inside haml. and add missing template.rb file.