aboutsummaryrefslogtreecommitdiff
path: root/app/views/partials/navigator.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/partials/navigator.php')
-rw-r--r--app/views/partials/navigator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/partials/navigator.php b/app/views/partials/navigator.php
index 5164e7c..7344f31 100644
--- a/app/views/partials/navigator.php
+++ b/app/views/partials/navigator.php
@@ -15,7 +15,7 @@
</a>
<a href="/posts/" class="navbar-item navbar__icon
- <?php echo $navigation->isActive('/posts/') ?? 'has-text-gray' ?>">
+ <?php echo $navigation->isActive('posts') ?? 'has-text-gray' ?>">
<div class="has-text-centered">
<?php echo file_get_contents(
$_SERVER['DOCUMENT_ROOT']
@@ -26,7 +26,7 @@
</a>
<a href="/projects/" class="navbar-item navbar__icon
- <?php echo $navigation->isActive('/projects/') ?? 'has-text-gray' ?>">
+ <?php echo $navigation->isActive('projects') ?? 'has-text-gray' ?>">
<div class="has-text-centered">
<?php echo file_get_contents(
$_SERVER['DOCUMENT_ROOT']
@@ -37,7 +37,7 @@
</a>
<a href="/contact/" class="navbar-item navbar__icon
- <?php echo $navigation->isActive('/contact/') ?? 'has-text-gray' ?>">
+ <?php echo $navigation->isActive('contact') ?? 'has-text-gray' ?>">
<div class="has-text-centered">
<?php echo file_get_contents(
$_SERVER['DOCUMENT_ROOT']