新增:新增百度统计代码,并将 favicon.ico 更换为 128x128 尺寸的图标
This commit is contained in:
parent
2360f0401b
commit
e77c77419b
@ -3,11 +3,29 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>ContiNew Admin - 持续以最新流行技术栈构建的中后台管理框架</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
|
||||
<script>
|
||||
/* 百度统计代码 */
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?b0d02b5db5f47cd1ecb885dd33781f21";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
|
||||
/* 百度统计 => 规则设置 => 单页设置 => 启用单页应用数据统计 */
|
||||
_hmt.push(['_requirePlugin', 'UrlChangeTracker', {
|
||||
shouldTrackUrlChange: function (newPath, oldPath) {
|
||||
return newPath && oldPath;
|
||||
}}
|
||||
]);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 66 KiB |
Loading…
Reference in New Issue
Block a user