Take out duplicate blocks from pages extending a layout