feat: add robots

This commit is contained in:
liuyuanchuang
2026-02-25 15:47:23 +08:00
parent bc4b547e03
commit e90fca5ab1
6 changed files with 257 additions and 28 deletions

View File

@@ -5,10 +5,9 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Multi-language Support -->
<link rel="canonical" href="https://texpixel.com/" />
<link rel="alternate" hreflang="zh-CN" href="https://texpixel.com/" />
<link rel="alternate" hreflang="en" href="https://texpixel.com/en" />
<link rel="alternate" hreflang="en" href="https://texpixel.com/en/" />
<link rel="alternate" hreflang="x-default" href="https://texpixel.com/" />
<!-- Dynamic Title (will be updated by app) -->
@@ -41,6 +40,34 @@
<!-- Baidu Verification -->
<meta name="baidu-site-verification" content="codeva-8zU93DeGgH" />
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "TexPixel",
"url": "https://texpixel.com/",
"inLanguage": ["zh-CN", "en"],
"description": "Formula recognition tool for converting images and PDFs into LaTeX, MathML, and Markdown."
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "TexPixel",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Web",
"url": "https://texpixel.com/",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"description": "Online OCR and formula recognition for printed and handwritten mathematical expressions."
}
</script>
<!-- Language Detection Script -->
<script>
// Update HTML lang attribute based on user preference or browser language
@@ -64,4 +91,4 @@
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
</html>