Skip to content

Commit 9cb5d67

Browse files
committed
Layout and Views update
1 parent a5b8bd7 commit 9cb5d67

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

views/layouts/main.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
$this->registerMetaTag(['name' => 'google-site-verification', 'content' => '']);
2424
$this->registerMetaTag(['name' => 'yandex-verification', 'content' => '']);
2525
$this->registerLinkTag(['rel' => 'canonical', 'href' => Url::canonical()]);
26+
2627
// CSRF
2728
$this->registerCsrfMetaTags();
2829
?>
@@ -48,8 +49,8 @@
4849
'items' => [
4950
['label' => 'Index', 'url' => ['/site/index']],
5051
['label' => 'About', 'url' => ['/site/about']],
51-
['label' => 'DevRoute', 'url' => ['/site/dev']],
52-
['label' => 'AJAX', 'url' => ['/site/ajax']],
52+
['label' => 'DevRoute', 'url' => ['/site/dev']]
53+
5354

5455

5556
]

views/site/partials/footer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
?>
3+
<h2>Footer</h2>

views/site/partials/header.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
?>
3+
<h1>Header</h1>

0 commit comments

Comments
 (0)