Template with blocks that override each other