ported to haml, fixed folio content