mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: Enhance SEO and accessibility for website
- Updated title and meta tags in index.html for better search engine optimization. - Added Open Graph and Twitter Card metadata for improved social media sharing. - Included structured data for the game server in index.html. - Improved accessibility with a skip link to main content in index.html. - Enhanced player stats page (stats.html) with additional meta tags and structured data. - Created robots.txt to manage web crawler access and included sitemap reference. - Added sitemap.xml with URLs for the homepage and player stats page. - Removed pigwei.html as it is no longer needed.
This commit is contained in:
43
stats.html
43
stats.html
@@ -3,13 +3,52 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>玩家数据 - 白鹿原 Minecraft 服务器</title>
|
||||
<title>玩家数据统计 - 白鹿原 Minecraft 服务器</title>
|
||||
<meta name="description" content="查看白鹿原Minecraft服务器的玩家数据统计,包括总游戏时长、击杀数、死亡数等排行榜。实时了解服务器玩家活跃度和数据榜单。">
|
||||
<meta name="keywords" content="Minecraft玩家数据,服务器统计,玩家排行榜,白鹿原数据,MC统计,游戏时长排行">
|
||||
<meta name="author" content="白鹿原 Minecraft 服务器">
|
||||
<meta name="robots" content="index, follow">
|
||||
<link rel="canonical" href="https://mcpure.lunadeer.cn/stats.html">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://mcpure.lunadeer.cn/stats.html">
|
||||
<meta property="og:title" content="玩家数据统计 - 白鹿原 Minecraft 服务器">
|
||||
<meta property="og:description" content="查看白鹿原Minecraft服务器的玩家数据统计和排行榜">
|
||||
<meta property="og:image" content="https://img.lunadeer.cn/i/2024/04/22/6625ce6c8ddc1.png">
|
||||
<meta property="og:site_name" content="白鹿原 Minecraft 服务器">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary">
|
||||
<meta property="twitter:url" content="https://mcpure.lunadeer.cn/stats.html">
|
||||
<meta property="twitter:title" content="玩家数据统计 - 白鹿原 Minecraft 服务器">
|
||||
<meta property="twitter:description" content="查看白鹿原Minecraft服务器的玩家数据统计和排行榜">
|
||||
<meta property="twitter:image" content="https://img.lunadeer.cn/i/2024/04/22/6625ce6c8ddc1.png">
|
||||
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="preconnect" href="https://img.lunadeer.cn">
|
||||
<link rel="dns-prefetch" href="https://outline.lunadeer.cn">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
||||
|
||||
<!-- Structured Data -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebPage",
|
||||
"name": "玩家数据统计",
|
||||
"description": "白鹿原Minecraft服务器玩家数据统计和排行榜",
|
||||
"url": "https://mcpure.lunadeer.cn/stats.html",
|
||||
"isPartOf": {
|
||||
"@type": "WebSite",
|
||||
"name": "白鹿原 Minecraft 服务器",
|
||||
"url": "https://mcpure.lunadeer.cn/"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
/* Specific styles for stats page override/additions */
|
||||
.stats-hero {
|
||||
@@ -240,7 +279,7 @@
|
||||
</button>
|
||||
<div class="logo">
|
||||
<a href="/">
|
||||
<img src="https://img.lunadeer.cn/i/2024/04/22/6625ce6c8ddc1.png" alt="白鹿原 Logo">
|
||||
<img src="https://img.lunadeer.cn/i/2024/04/22/6625ce6c8ddc1.png" alt="白鹿原 Minecraft 服务器 Logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav-links desktop-only">
|
||||
|
||||
Reference in New Issue
Block a user