]> 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 c45ab6b6f0cc94df5145d4642e11eee17d5a884f..8e94b903d5de51eb796304d731ec2e29024e64d1 100644 (file)
@@ -1,20 +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" />
 
-    <link rel="icon" href="/client/assets/favicon.ico" />
+    <!-- base url -->
+    <base href="<%= htmlWebpackPlugin.options.metadata.baseUrl %>">
 
-    <!-- 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>
+    <%= htmlWebpackPlugin.files.webpackManifest %>
   </head>
 
   <!-- 3. Display the application -->
   <body>
-    <my-app>Loading...</my-app>
+
+    <my-app>
+    </my-app>
+
   </body>
 </html>