浏览代码

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"/>

正在加载...
取消
保存