summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorJonas Kohl <gitlab@jonaskohl.de>2024-07-21 13:23:33 +0200
committerJonas Kohl <gitlab@jonaskohl.de>2024-07-21 13:23:33 +0200
commitd79fb0f0ce4744974d45d7d4e80c3af8c2cca717 (patch)
treebf7a46b251b3047ef5704613fa93c3912427497f /src/pages
parentd3db01ccb363db3f48695abd7dd9eef404ebc670 (diff)
Switch to more flexible params system and add active navlink state
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/about.php3
-rw-r--r--src/pages/index.php3
-rw-r--r--src/pages/not_found.php2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/pages/about.php b/src/pages/about.php
index 99d8e25..9e7b31b 100644
--- a/src/pages/about.php
+++ b/src/pages/about.php
@@ -9,7 +9,8 @@ $age = date_diff(
?>
-<title>About me</title>
+<param:title>About me</param:title>
+<param:active-link>about</param:active-link>
<h1>About me</h1>
diff --git a/src/pages/index.php b/src/pages/index.php
index 3b15088..cb9b417 100644
--- a/src/pages/index.php
+++ b/src/pages/index.php
@@ -1,3 +1,4 @@
-<title>hozyro's site</title>
+<param:title>hozyro's site</param:title>
+<param:active-link>home</param:active-link>
<?php include SRCDIR . "/includes/under-construction.php"; ?>
diff --git a/src/pages/not_found.php b/src/pages/not_found.php
index b71d6c3..abe4c3f 100644
--- a/src/pages/not_found.php
+++ b/src/pages/not_found.php
@@ -1,2 +1,2 @@
-<title>Not found</title>
+<param:title>Not found</param:title>
<p>The requested page could not be found.</p>