Skip to content

Commit 5679fc4

Browse files
chore: add SEO meta tags, JSON-LD, sitemap, and robots.txt
1 parent 5d711e2 commit 5679fc4

4 files changed

Lines changed: 52 additions & 0 deletions

File tree

index.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>成績分析平台 - 中大壢中</title>
8+
<!-- SEO 基本標籤 -->
9+
<meta name="description" content="中大壢中成績分析平台,提供中大壢中學生登入查詢平時考、段考及模擬考成績,並透過圖表分析個人與班級平均、五標落點與排名分佈,快速掌握學習狀況。">
10+
<meta name="robots" content="index, follow">
11+
<!-- Open Graph 標籤 -->
12+
<meta property="og:title" content="成績分析平台 - 中大壢中">
13+
<meta property="og:description" content="中大壢中學生專屬的成績分析工具,登入即可查詢各科成績、排名與落點分析。">
14+
<meta property="og:type" content="website">
15+
<meta property="og:url" content="https://score.clhs.dev/">
16+
<meta property="og:site_name" content="成績分析平台 - 中大壢中">
17+
<!-- Schema.org JSON-LD -->
18+
<script type="application/ld+json">
19+
{
20+
"@context":"https://schema.org",
21+
"@type":"SoftwareApplication",
22+
"name":"成績分析平台 - 中大壢中",
23+
"applicationCategory":"EducationApplication",
24+
"operatingSystem":"Web",
25+
"url":"https://score.clhs.dev/"
26+
}
27+
</script>
828
<link rel="preconnect" href="https://fonts.googleapis.com">
929
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1030
<meta http-equiv="Content-Security-Policy"
@@ -22,6 +42,13 @@
2242
</head>
2343

2444
<body>
45+
<!-- 確保搜尋引擎能讀取到頁面詳細介紹的隱藏文字 -->
46+
<div
47+
style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;">
48+
<h2>中大壢中成績分析平台</h2>
49+
<p>提供學生安全、快速的平台查詢段考、模擬考與平時考成績。透過視覺化圖表比較個人分數與班級平均,提供五標標準分析、落點預測及排名分佈,有效幫助學生掌握學習進度並規劃未來讀書計畫。</p>
50+
</div>
51+
2552
<!-- 背景動畫元素 -->
2653
<div class="bg-orbs">
2754
<div class="orb orb-1"></div>

privacy.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>隱私權政策 - 成績分析平台</title>
8+
<!-- SEO 基本標籤 -->
9+
<meta name="description" content="中大壢中成績分析平台的隱私權保護政策,詳細說明我們如何處理及保護您的學校帳號、成績資料等個人隱私資訊。">
10+
<meta name="robots" content="index, follow">
11+
<!-- Open Graph 標籤 -->
12+
<meta property="og:title" content="隱私權政策 - 成績分析平台">
13+
<meta property="og:description" content="中大壢中成績分析平台的隱私權保護政策,詳細說明我們如何處理及保護您的學校帳號、成績資料等個人隱私資訊。">
14+
<meta property="og:type" content="website">
15+
<meta property="og:url" content="https://score.clhs.dev/privacy.html">
816
<link
917
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Noto+Sans+TC:wght@400;500;700&display=swap"
1018
rel="stylesheet">

robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://score.clhs.dev/sitemap.xml

sitemap.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://score.clhs.dev/</loc>
5+
<changefreq>daily</changefreq>
6+
<priority>1.0</priority>
7+
</url>
8+
<url>
9+
<loc>https://score.clhs.dev/privacy.html</loc>
10+
<changefreq>yearly</changefreq>
11+
<priority>0.5</priority>
12+
</url>
13+
</urlset>

0 commit comments

Comments
 (0)