added sonata_page check on block template