add haml, convert _header and _partial