Преглед на файлове

Moves favicon into the title html.

Moves favicon into the title html with all metadata for easy overriding. Moves the title html inclusion after all the connection optimisations to avoid downloading the icon to interfere those optimisations.
j8
damencho преди 8 години
родител
ревизия
6cb89891ce
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1
    2
      index.html
  2. 2
    1
      title.html

+ 1
- 2
index.html Целия файл

@@ -3,7 +3,6 @@
3 3
     <meta charset="utf-8" />
4 4
     <meta http-equiv="content-type" content="text/html;charset=utf-8">
5 5
     <!--#include virtual="base.html" -->
6
-    <!--#include virtual="title.html" -->
7 6
     <script>
8 7
         window.indexLoadedTime = window.performance.now();
9 8
         console.log("(TIME) index.html loaded:\t", indexLoadedTime);
@@ -15,7 +14,7 @@
15 14
     <script><!--#include virtual="interface_config.js" --></script>
16 15
     <script src="libs/lib-jitsi-meet.min.js?v=139"></script>
17 16
     <script src="libs/app.bundle.min.js?v=139"></script>
18
-    <link rel="icon" type="image/png" href="/images/favicon.ico?v=1"/>
17
+    <!--#include virtual="title.html" -->
19 18
     <link rel="stylesheet" href="css/all.css"/>
20 19
     <!--#include virtual="plugin.head.html" -->
21 20
   </head>

+ 2
- 1
title.html Целия файл

@@ -5,4 +5,5 @@
5 5
 <meta description="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
6 6
 <meta itemprop="name" content="Jitsi Meet"/>
7 7
 <meta itemprop="description" content="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
8
-<meta itemprop="image" content="/images/jitsilogo.png?v=1"/>
8
+<meta itemprop="image" content="/images/jitsilogo.png?v=1"/>
9
+<link rel="icon" type="image/png" href="/images/favicon.ico?v=1"/>

Loading…
Отказ
Запис