split up index into partials