transfer html flies to haml files for the first card