-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
58 lines (52 loc) · 1.97 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- 基础 Meta 标签 -->
<title>%VITE_APP_TITLE%</title>
<meta name="description" content="%VITE_APP_DESCRIPTION%" />
<meta name="keywords" content="%VITE_APP_KEYWORDS%" />
<meta name="author" content="%VITE_APP_AUTHOR%" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="%VITE_APP_URL%" />
<meta property="og:title" content="%VITE_APP_TITLE%" />
<meta property="og:description" content="%VITE_APP_DESCRIPTION%" />
<meta property="og:image" content="%VITE_APP_LOGO%" />
<meta property="og:locale" content="zh_CN" />
<meta property="og:site_name" content="%VITE_APP_TITLE%" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="%VITE_APP_TWITTER%" />
<meta name="twitter:title" content="%VITE_APP_TITLE%" />
<meta name="twitter:description" content="%VITE_APP_DESCRIPTION%" />
<meta name="twitter:image" content="%VITE_APP_LOGO%" />
<!-- 主题色 -->
<meta name="theme-color" content="%VITE_APP_THEME_COLOR%" />
<!-- Schema.org 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "%VITE_APP_TITLE%",
"url": "%VITE_APP_URL%",
"logo": "%VITE_APP_LOGO%",
"sameAs": ["%VITE_APP_GITHUB%", "%VITE_APP_TWITTER_URL%"]
}
</script>
<!-- 字体预加载 -->
<link
rel="preload"
href="https://cdn.jsdmirror.com/gh/acanyo/mmm.sd@master/assets/font/lxwk.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>