summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNaglfar <naglfar@tilde.institute>2021-01-10 17:51:10 +0100
committerNaglfar <naglfar@tilde.institute>2021-01-10 17:51:10 +0100
commitedcfa69dd6a0b240dc92be021c201e49c3d456b7 (patch)
treed11d8db14430a4db3448bc36ea4142bd7c9bfb58
parentb3999a235201891805ad9477d5e31cfcd88fe180 (diff)
downloadMightyWVMS-edcfa69dd6a0b240dc92be021c201e49c3d456b7.tar.gz
Add meta description
-rw-r--r--divs/footer.php2
-rw-r--r--index.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/divs/footer.php b/divs/footer.php
index da741c7..5781afd 100644
--- a/divs/footer.php
+++ b/divs/footer.php
@@ -1 +1 @@
-<?php printf("<a href='%s'>%s</a>\n", $mdata[4], $mdata[5]) ?>
+<?php printf("<a href='%s'>%s</a>\n", $mdata[5], $mdata[6]) ?>
diff --git a/index.php b/index.php
index cc1ab1e..5be503c 100644
--- a/index.php
+++ b/index.php
@@ -8,9 +8,10 @@ require 'php/wd-procedures.php';  #video management (Write/update data)
 <!DOCTYPE html>
 <html lang="<?php echo $mdata[3] ?>">
 <head>
+  <title><?php printf("%s - %s", $vdata[2], $mdata[0]) ?></title>
+  <meta name="description" content="<?php echo $mdata[4] ?>" />
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
   <link rel="stylesheet" type="text/css" href="/theme/body-wrapper.css"/>
-  <title><?php printf("%s - %s", $vdata[2], $mdata[0]) ?></title>
 </head>
 <body>
   <div id="body-wrapper">