summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--divs/head.php7
-rw-r--r--index.php7
2 files changed, 8 insertions, 6 deletions
diff --git a/divs/head.php b/divs/head.php
new file mode 100644
index 0000000..6b90913
--- /dev/null
+++ b/divs/head.php
@@ -0,0 +1,7 @@
+<head>
+ <title><?php printf("%s - %s", $vdata[2], $wsdata[0]) ?></title>
+ <meta name="description" content="<?php echo $wsdata[4] ?>" />
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
+ <link rel="stylesheet" type="text/css" href="/theme/body-wrapper.css"/>
+ <link rel="shortcut icon" href="/theme/favicon.ico" type="image/x-icon">
+</head>
diff --git a/index.php b/index.php
index 91a70b4..f4618c2 100644
--- a/index.php
+++ b/index.php
@@ -7,12 +7,7 @@ require 'php/wd-procedures.php'; #video management (Write/update data)
?>
<!DOCTYPE html>
<html lang="<?php echo $wsdata[3] ?>">
-<head>
- <title><?php printf("%s - %s", $vdata[2], $wsdata[0]) ?></title>
- <meta name="description" content="<?php echo $wsdata[4] ?>" />
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <link rel="stylesheet" type="text/css" href="/theme/body-wrapper.css"/>
-</head>
+<?php require 'divs/head.php' ?>
<body>
<div id="body-wrapper">
<div id="header"></div>