diff --git a/html/index.php b/html/index.php index f068fd2..c656bc8 100644 --- a/html/index.php +++ b/html/index.php @@ -16,7 +16,8 @@ function renderChoice(): void { if ($ajax) { include __DIR__ . "/../view/fragments/mobSelection.php"; } else { - $title = "MobMash"; + $title = "MobMash - Vote"; + $description = "Which Minecraft mob is the best? Vote for your favorite mob. MobMash uses a chess rating algorithm to calculate a definitive ranking."; $content = function() use ($left, $right, $csrfToken) { include __DIR__ . "/../view/pages/mobSelection.php"; }; diff --git a/html/results/index.php b/html/results/index.php index 1abca42..9fcb412 100644 --- a/html/results/index.php +++ b/html/results/index.php @@ -26,6 +26,7 @@ if (isset($_GET["ajax"])) { require __DIR__ . '/../../view/fragments/mobList.php'; } else { $title = "MobMash - Results"; + $description = "Which Minecraft mob is the best? Let's take a look at how people votes. These are the results."; $content = function () use ($mobs, $trends) { require __DIR__ . '/../../view/pages/results.php'; }; diff --git a/view/layout.php b/view/layout.php index ee197d4..2b882ce 100644 --- a/view/layout.php +++ b/view/layout.php @@ -13,13 +13,15 @@ ?>
-