<?php if (Yii::$app->controller->route !== 'site/index'): ?>
            <header class="entry-header page-header">
                <h1 class="entry-title"><?= Html::encode($post->title) ?></h1>

                <?php $updated = new \DateTime($post->modified, new DateTimeZone(Yii::$app->timeZone)) ?>