]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/index.html
Begin new menu design
[github/Chocobozzz/PeerTube.git] / client / src / index.html
index 5cf491221b54c5645135b2c1535a90355ad52add..8e94b903d5de51eb796304d731ec2e29024e64d1 100644 (file)
@@ -1,21 +1,29 @@
+<!DOCTYPE html>
 <html>
   <head>
-    <base href="/">
-
-    <title>PeerTube</title>
+    <title><%= htmlWebpackPlugin.options.title %></title>
 
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="description" content="PeerTube, a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser" />
+
+    <!-- The following comment is used by the server to prerender OpenGraph and oEmbed tags -->
+    <!-- open graph and oembed tags -->
+    <!-- Do not remove it! -->
 
     <link rel="icon" type="image/png" href="/client/assets/favicon.png" />
 
-    <!-- TODO: bundle it with webpack when https://github.com/webpack/webpack/pull/1931 will be merged -->
-    <script src="/client/assets/webtorrent/webtorrent.min.js"></script>
+    <!-- base url -->
+    <base href="<%= htmlWebpackPlugin.options.metadata.baseUrl %>">
+
+    <%= htmlWebpackPlugin.files.webpackManifest %>
   </head>
 
   <!-- 3. Display the application -->
   <body>
+
     <my-app>
     </my-app>
+
   </body>
 </html>