From 265d33d24bf1de77a254e1a86267e978e3a3dac1 Mon Sep 17 00:00:00 2001
From: James Hawkins <jhawki2005@gmail.com>
Date: Mon, 2 Aug 2021 15:17:10 +0100
Subject: [PATCH] Revert "Add changing meta descriptions"

This reverts commit c68a826376f5b0380ed7fb24dcca9d521faf47ec.
---
 public/index.html | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/public/index.html b/public/index.html
index 3779b0f3..e726e260 100644
--- a/public/index.html
+++ b/public/index.html
@@ -14,21 +14,10 @@
     <meta charset="utf-8" />
     <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-
-    <script>
-      const metaTag = document.createElement('meta');
-      let hash = document.location.hash;
-      metaTag.name = 'description';
-
-      if (!hash || ['#/movie', '#/show'].includes(hash)) {
-        metaTag.content = 'because watching movies legally is boring';
-      } else {
-        let components = hash.split('/');
-        metaTag.content = `watch the ${components[1]} "${components[3]}" from ${components[2]} on movie-web`
-      }
-
-      document.getElementsByTagName('head')[0].append(metaTag);
-    </script>
+    <meta
+      name="description"
+      content="because watching movies legally is boring"
+    />
 
     <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
     <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">