Update main.php

Replacing layout