split markup in partials