aboutsummaryrefslogtreecommitdiff
path: root/includes/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php10
1 files changed, 8 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">