aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/header.php10
-rw-r--r--includes/navigation.php3
2 files changed, 11 insertions, 2 deletions
diff --git a/includes/header.php b/includes/header.php
index 7297572..099267a 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -1,9 +1,15 @@
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php"; ?>
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php"; global $title; ?>
<!DOCTYPE html>
<html lang="en">
<head data-webx-version="<?= version() ?>" data-webx-build="#<?= build() ?>">
<meta charset="UTF-8">
- <title>Minteck</title>
+ <title><?php
+
+ if (isset($title)) {
+ echo "$title | ";
+ }
+
+ ?>Minteck</title>
<meta name="description" content="Minteck's Website">
<meta name="version" content="<?= version() ?> (#<?= build() ?>)">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
diff --git a/includes/navigation.php b/includes/navigation.php
index 2d0fabf..b670067 100644
--- a/includes/navigation.php
+++ b/includes/navigation.php
@@ -21,6 +21,9 @@
<li class="nav-item">
<a class="nav-link" href="/social">Social</a>
</li>
+ <li class="nav-item">
+ <a class="nav-link" href="/faq">FAQ</a>
+ </li>
</ul>
</div>
</div>