generate HTML using slim