Convert from html to jade template