Update page.php

Added back missing endif