aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-19 15:53:10 +0200
committerSyndamia <kamen@syndamia.com>2025-01-19 15:53:21 +0200
commit877320142b415a5ee9b8e3eff75be1470c0bab46 (patch)
treee71a6a93cd62af1ec2910bbcb18600803f9079d7 /views
parent98f3961739ee4ab7c79c1e0ae5131b85a2e24198 (diff)
downloadnowayforward_human-877320142b415a5ee9b8e3eff75be1470c0bab46.tar
nowayforward_human-877320142b415a5ee9b8e3eff75be1470c0bab46.tar.gz
nowayforward_human-877320142b415a5ee9b8e3eff75be1470c0bab46.zip
feat(views): Add meta tags, PHP title logic and navbar
Diffstat (limited to 'views')
-rw-r--r--views/footer.php1
-rw-r--r--views/header.php14
2 files changed, 13 insertions, 2 deletions
diff --git a/views/footer.php b/views/footer.php
index 308b1d0..b457da8 100644
--- a/views/footer.php
+++ b/views/footer.php
@@ -1,2 +1,3 @@
+ </article>
</body>
</html>
diff --git a/views/header.php b/views/header.php
index d106b64..d84ee05 100644
--- a/views/header.php
+++ b/views/header.php
@@ -1,7 +1,17 @@
<!DOCTYPE html>
-<html lang="bg">
+<html lang="en">
<head>
<meta charset="UTF-8">
- <title>Test</title>
+ <meta name="robots" content="index, follow">
+ <meta name="theme-color" content="#2b2b2e">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title><?php echo htmlspecialchars($title ?? "");?></title>
</head>
<body>
+ <header>
+ <nav>
+ <a href="/test/index.php">Test</a>
+ <a href="/sample_archive/index.php">Sample Archive</a>
+ </nav>
+ </header>
+ <article>