diff options
author | Naglfar <naglfar@tilde.institute> | 2021-01-12 19:21:24 +0100 |
---|---|---|
committer | Naglfar <naglfar@tilde.institute> | 2021-01-12 19:21:24 +0100 |
commit | 62caca0d8e0307e7a25ddbd0d560b13235ad19bf (patch) | |
tree | 6576f5932605aceac08f7f9ae498f6fcf9846f87 | |
parent | c8b552127946c1062010bf3b290939ec3c53e916 (diff) | |
download | MightyWVMS-62caca0d8e0307e7a25ddbd0d560b13235ad19bf.tar.gz |
Move head back in top of body (index.php)
-rw-r--r-- | divs/head.php | 8 | ||||
-rw-r--r-- | index.php | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/divs/head.php b/divs/head.php deleted file mode 100644 index 8f404fb..0000000 --- a/divs/head.php +++ /dev/null @@ -1,8 +0,0 @@ -<head> - <?php printf("<title>%s - %s</title>", $vdata[2], $wsdata[0]) ?> - <meta name="description" content="<?php echo $wsdata[6] ?>" /> - <meta name="viewport" content="width=device-width,initial-scale=1.0"> - <link rel="stylesheet" href="/theme/body-wrapper.css" type="text/css"> - <link rel="shortcut icon" href="/theme/favicon.ico" type="image/x-icon"> - <link rel="canonical" href="<?php echo $wsdata[1] ?>"> -</head> diff --git a/index.php b/index.php index 1912636..cd760d0 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,14 @@ require 'php/wd-procedures.php'; #video management (Write/update data) ?> <!DOCTYPE html> <html lang="<?php echo $wsdata[4] ?>"> -<?php require 'divs/head.php' ?> +<head> + <title><?php printf("%s - %s", $vdata[2], $wsdata[0]) ?></title> + <meta name="description" content="<?php echo $wsdata[6] ?>" /> + <meta name="viewport" content="width=device-width,initial-scale=1.0"> + <link rel="stylesheet" href="/theme/body-wrapper.css" type="text/css"> + <link rel="icon" href="/theme/favicon.ico" type="image/x-icon"> + <link rel="canonical" href="<?php echo $wsdata[1] ?>"> +</head> <body> <div id="body-wrapper"> <div id="header"></div> |