Migrate most templates to haml