feat: 更新嵌入页面
This commit is contained in:
@@ -27,9 +27,9 @@ const pageTitle = title ? `${title} - ${siteTitle}` : siteTitle;
|
||||
/>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{pageTitle}</title>
|
||||
<meta name="description" content={description} />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<title>{pageTitle}</title>
|
||||
</head>
|
||||
<body>
|
||||
<BaseHeader />
|
||||
|
||||
49
src/pages/embed/gitea.astro
Normal file
49
src/pages/embed/gitea.astro
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
const noindex = true;
|
||||
import {metadata} from '@/consts.ts'
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
|
||||
/>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.ico"/>
|
||||
<meta name="generator" content={Astro.generator}/>
|
||||
<title></title>
|
||||
<meta name="theme-color" content="#ffffff"/>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<style>
|
||||
@import "modern-normalize";
|
||||
|
||||
.page-container {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.gitea-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-container">
|
||||
<div class="gitea-content">
|
||||
<div>
|
||||
<span>博客地址: </span>
|
||||
<a href="https://ua42.com">{metadata.siteTitle}</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span>仓库地址: </span>
|
||||
<a href="https://git.ua42.com/beggin">点击访问</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user