feat: implement site variant support and enhance SEO with dynamic meta tags
This commit is contained in:
+18
-18
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="%SITE_LANG%">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
@@ -7,33 +7,33 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<meta name="theme-color" content="#f4f1eb" />
|
||||
<title>Haoze Zhou | Computer Science Student & Developer</title>
|
||||
<meta name="description" content="Haoze Zhou is a Computer Science undergraduate at Universiti Malaya building software, self-hosted infrastructure, and open-source projects." />
|
||||
<meta name="author" content="Haoze Zhou" />
|
||||
<title>%SITE_TITLE%</title>
|
||||
<meta name="description" content="%SITE_DESCRIPTION%" />
|
||||
<meta name="author" content="ZaneChow" />
|
||||
<meta name="robots" content="index, follow, max-image-preview:large" />
|
||||
<link rel="canonical" href="https://www.zhouhaoze.com/" />
|
||||
<link rel="canonical" href="%SITE_URL%" />
|
||||
<link rel="alternate" hreflang="en" href="https://www.zhouhaoze.com/" />
|
||||
<link rel="alternate" hreflang="zh-CN" href="https://www.zhouhaoze.cn/" />
|
||||
<link rel="alternate" hreflang="x-default" href="https://www.zhouhaoze.com/" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="Haoze Zhou" />
|
||||
<meta property="og:title" content="Haoze Zhou | Computer Science Student & Developer" />
|
||||
<meta property="og:description" content="Software projects and self-hosted infrastructure by Haoze Zhou." />
|
||||
<meta property="og:url" content="https://www.zhouhaoze.com/" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:locale:alternate" content="zh_CN" />
|
||||
<meta property="og:image" content="https://www.zhouhaoze.com/favicon.png" />
|
||||
<meta property="og:image:alt" content="Haoze Zhou personal website" />
|
||||
<meta property="og:site_name" content="ZaneChow" />
|
||||
<meta property="og:title" content="%SITE_TITLE%" />
|
||||
<meta property="og:description" content="%SITE_DESCRIPTION%" />
|
||||
<meta property="og:url" content="%SITE_URL%" />
|
||||
<meta property="og:locale" content="%SITE_LOCALE%" />
|
||||
<meta property="og:locale:alternate" content="%SITE_ALTERNATE_LOCALE%" />
|
||||
<meta property="og:image" content="%SITE_URL%favicon.png" />
|
||||
<meta property="og:image:alt" content="%SITE_IMAGE_ALT%" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="Haoze Zhou | Computer Science Student & Developer" />
|
||||
<meta name="twitter:description" content="Software projects and self-hosted infrastructure by Haoze Zhou." />
|
||||
<meta name="twitter:image" content="https://www.zhouhaoze.com/favicon.png" />
|
||||
<meta name="twitter:title" content="%SITE_TITLE%" />
|
||||
<meta name="twitter:description" content="%SITE_DESCRIPTION%" />
|
||||
<meta name="twitter:image" content="%SITE_URL%favicon.png" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<noscript>
|
||||
<main>
|
||||
<h1>Haoze Zhou</h1>
|
||||
<h1>ZaneChow</h1>
|
||||
<p>Computer Science undergraduate at Universiti Malaya building software, open-source projects, and self-hosted infrastructure.</p>
|
||||
<nav aria-label="Primary navigation">
|
||||
<a href="#about">About</a>
|
||||
@@ -42,7 +42,7 @@
|
||||
</nav>
|
||||
<section id="about"><h2>About</h2><p>I study Computer Science at Universiti Malaya and learn by building practical systems.</p></section>
|
||||
<section id="projects"><h2>Projects</h2><p>Explore my open-source work, including AuthRouter, a unified identity-provider login gateway.</p></section>
|
||||
<section id="contact"><h2>Contact</h2><p><a href="mailto:me@zhouhaoze.com">Email Haoze Zhou</a> · <a href="https://github.com/YIYI-16">GitHub</a></p></section>
|
||||
<section id="contact"><h2>Contact</h2><p><a href="mailto:me@zhouhaoze.com">Email ZaneChow</a> · <a href="https://github.com/YIYI-16">GitHub</a></p></section>
|
||||
</main>
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user