feat: publish Git collaboration and AI development research
This commit is contained in:
@@ -6,15 +6,18 @@ interface Props {
|
||||
description?: string;
|
||||
canonical?: string;
|
||||
article?: boolean;
|
||||
image?: string;
|
||||
}
|
||||
|
||||
const {
|
||||
title = "K1412 Research",
|
||||
description = "技术研究、实验记录与可验证的公开成果。",
|
||||
canonical = Astro.url.href,
|
||||
article = false
|
||||
article = false,
|
||||
image = "/og-default.svg"
|
||||
} = Astro.props;
|
||||
const pageTitle = title === "K1412 Research" ? title : `${title} · K1412 Research`;
|
||||
const socialImage = new URL(image, Astro.site ?? Astro.url).href;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
@@ -32,7 +35,11 @@ const pageTitle = title === "K1412 Research" ? title : `${title} · K1412 Resear
|
||||
<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" />
|
||||
<meta property="og:image" content={socialImage} />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content={pageTitle} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<meta name="twitter:image" content={socialImage} />
|
||||
<title>{pageTitle}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user