-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
108 lines (98 loc) · 3.65 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/treescii.svg" />
<link rel="preload" as="image" href="/treescii.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- 页面标题(含中英文关键词) -->
<title>
TreeScii - Generate Beautiful ASCII Trees | 生成美观的 ASCII 树
</title>
<!-- 页面描述(中英双语) -->
<meta
name="description"
content="TreeScii is a powerful ASCII tree generator that lets you create and share beautiful hierarchical structures with ease. | TreeScii 是一个强大的 ASCII 树生成器,让你轻松创建和分享漂亮的层次结构。"
/>
<!-- 关键词(中英混合) -->
<meta
name="keywords"
content="ASCII tree, tree diagram, Markdown, text visualization, hierarchy generator, ASCII 树, 目录结构, 层次结构, Markdown 目录"
/>
<!-- Open Graph (用于社交媒体预览) -->
<meta
property="og:title"
content="TreeScii - Generate Beautiful ASCII Trees | 生成美观的 ASCII 树"
/>
<meta
property="og:description"
content="Create and share ASCII trees effortlessly with TreeScii. | 使用 TreeScii 轻松创建和分享 ASCII 树。"
/>
<meta
property="og:image"
content="https://ascii-tree.mirotoys.com/preview.png"
/>
<meta property="og:url" content="https://ascii-tree.mirotoys.com/" />
<meta property="og:type" content="website" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="TreeScii - Generate Beautiful ASCII Trees | 生成美观的 ASCII 树"
/>
<meta
name="twitter:description"
content="Create and share ASCII trees effortlessly with TreeScii. | 使用 TreeScii 轻松创建和分享 ASCII 树。"
/>
<meta
name="twitter:image"
content="https://ascii-tree.mirotoys.com/preview.png"
/>
<!-- `hreflang` 指向同一个 URL,避免因多语言导致 SEO 降权 -->
<link
rel="alternate"
hreflang="x-default"
href="https://ascii-tree.mirotoys.com/"
/>
<link
rel="alternate"
hreflang="en"
href="https://ascii-tree.mirotoys.com/"
/>
<link
rel="alternate"
hreflang="zh-CN"
href="https://ascii-tree.mirotoys.com/"
/>
<link
rel="alternate"
hreflang="zh-TW"
href="https://ascii-tree.mirotoys.com/"
/>
<!-- 结构化数据 (JSON-LD) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "TreeScii",
"url": "https://ascii-tree.mirotoys.com/",
"description": "Create and share ASCII trees effortlessly with TreeScii. | 使用 TreeScii 轻松创建和分享 ASCII 树。",
"applicationCategory": "UtilitiesApplication",
"operatingSystem": "All",
"inLanguage": ["en", "zh-CN", "zh-TW"]
}
</script>
<meta name="theme-color" content="#ffffff" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="TreeScii" />
<!-- 添加Apple图标链接 -->
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<!-- 添加manifest链接 (PWA会自动添加,但显式指定更好) -->
<link rel="manifest" href="/manifest.webmanifest" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>