feat(site): 完善官网主体信息与部署配置

This commit is contained in:
Zhou Weidong committed 2026-11-17 10:06:41 +08:00
1 parent dfa9f311e0
commit 0dc1b3a68e
14 files changed
+147 -20

No files matched your search

+7 -7
View File
@@ -10,18 +10,18 @@
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="description" content="YMB — short stories, big emotions." />
<meta name="robots" content="index,follow,max-image-preview:large" />
<link rel="canonical" href="https://ymb.example.com/" />
<link rel="alternate" hreflang="id" href="https://ymb.example.com/?lang=id" />
<link rel="alternate" hreflang="en" href="https://ymb.example.com/?lang=en" />
<link rel="alternate" hreflang="zh-CN" href="https://ymb.example.com/?lang=zh" />
<link rel="alternate" hreflang="x-default" href="https://ymb.example.com/" />
<link rel="canonical" href="%VITE_SITE_URL%/" />
<link rel="alternate" hreflang="id" href="%VITE_SITE_URL%/?lang=id" />
<link rel="alternate" hreflang="en" href="%VITE_SITE_URL%/?lang=en" />
<link rel="alternate" hreflang="zh-CN" href="%VITE_SITE_URL%/?lang=zh" />
<link rel="alternate" hreflang="x-default" href="%VITE_SITE_URL%/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="YMB" />
<meta property="og:title" content="YMB · Short stories, big emotions" />
<meta property="og:description" content="Discover the best short dramas and new episodes every day." />
<meta property="og:image" content="https://ymb.example.com/assets/hero.jpg" />
<meta property="og:image" content="%VITE_SITE_URL%/assets/hero.jpg" />
<meta name="twitter:card" content="summary_large_image" />
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"YMB","url":"https://ymb.example.com/","potentialAction":{"@type":"SearchAction","target":"https://ymb.example.com/?q={search_term_string}","query-input":"required name=search_term_string"}}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"YMB","url":"%VITE_SITE_URL%/","potentialAction":{"@type":"SearchAction","target":"%VITE_SITE_URL%/?q={search_term_string}","query-input":"required name=search_term_string"}}</script>
<title>YMB · Short stories, big emotions</title>
</head>
<body><div id="root"></div><script type="module" src="/src/main.jsx"></script></body>