Initial k1412 research blog

This commit is contained in:
wuyang6
2026-08-10 02:00:15 +08:00
commit 8bd96c892a
41 changed files with 6357 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
---
import "../styles/global.css";
interface Props {
title?: string;
description?: string;
canonical?: string;
article?: boolean;
}
const {
title = "K1412 Research",
description = "技术研究、实验记录与可验证的公开成果。",
canonical = Astro.url.href,
article = false
} = Astro.props;
const pageTitle = title === "K1412 Research" ? title : `${title} · K1412 Research`;
---
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta name="description" content={description} />
<meta name="theme-color" content="#f0ede5" />
<meta name="generator" content={Astro.generator} />
<link rel="canonical" href={canonical} />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="alternate" type="application/rss+xml" title="K1412 Research" href="/rss.xml" />
<meta property="og:type" content={article ? "article" : "website"} />
<meta property="og:title" content={pageTitle} />
<meta property="og:description" content={description} />
<meta property="og:url" content={canonical} />
<meta property="og:image" content="https://blog.k1412.top/og-default.svg" />
<title>{pageTitle}</title>
</head>
<body>
<div class="site-grain" aria-hidden="true"></div>
<header class="site-header">
<a class="brand" href="/" aria-label="K1412 Research 首页">
<span class="brand-mark" aria-hidden="true">K</span>
<span>K1412 <b>Research</b></span>
</a>
<nav aria-label="主导航">
<a href="/#research">研究</a>
<a href="/archive/">索引</a>
<a href="/method/">方法</a>
<a href="https://git.k1412.top/wuyang/research-blog">源码</a>
</nav>
</header>
<main>
<slot />
</main>
<footer class="site-footer">
<p>K1412 Research</p>
<p>公开研究、可复现实验与独立专题站的统一入口。</p>
<p><a href="https://git.k1412.top/wuyang/research-blog">Source on git.k1412.top</a></p>
</footer>
<div class="release-marker" data-release="K1412-RESEARCH-BLOG-20260810" hidden></div>
</body>
</html>