-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
executable file
·42 lines (42 loc) · 1.88 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="description" content="<%- description %>">
<meta name="keywords" content="<%- keywords %>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title><%- title %></title>
<!-- 添加到主屏幕/桌面 -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="<%- title %>">
<meta name="theme-color" content="#fff">
<meta name="application-name" content="<%- title %>">
<link rel="icon" href="<%- logo %>">
<link rel="icon" type="image/x-icon" sizes="16x16" href="<%- favicon16 %>">
<link rel="icon" type="image/x-icon" sizes="32x32" href="<%- favicon32 %>">
<link rel="bookmark" href="<%- logo %>">
<link rel="apple-touch-icon" href="<%- logo %>">
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="<%- logo %>">
<link rel="apple-touch-startup-image" href="<%- logo %>">
<link rel="manifest" href="./manifest.json">
<!-- 分享到xxx 以卡片显示 -->
<meta property="og:type" content="website">
<meta property="og:title" content="<%- title %>">
<meta property="og:description" content="<%- description %>">
<meta property="og:image" content="https://cdn.wallleap.cn/wallleap/300.png">
<meta property="og:url" content="<%- url %>">
<% for (var css of css) { %>
<link href="<%= css %>" rel="stylesheet">
<% } %>
</head>
<body>
<div id="app"></div>
<% for (var js of js) { %>
<script src="<%= js %>"></script>
<% } %>
<script type="module" src="/src/main.js"></script>
</body>
</html>