feat: update gitea embed
This commit is contained in:
@@ -2,6 +2,6 @@ export const siteConfig = {
|
|||||||
site: "https://ua42.com",
|
site: "https://ua42.com",
|
||||||
siteTitle: "Uroboros",
|
siteTitle: "Uroboros",
|
||||||
postPageSize: 7,
|
postPageSize: 7,
|
||||||
description: "一个人的自留地 ,不欢迎我,也不欢迎你。",
|
description: "love yourself.",
|
||||||
git: "https://git.ua42.com"
|
git: "https://git.ua42.com"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
import "@/styles/global.css";
|
import "@/styles/global.css";
|
||||||
import { siteConfig } from "@/consts.ts";
|
import { siteConfig } from "@/consts.ts";
|
||||||
import PageHeader from "./PageHeader.astro";
|
|
||||||
import PageFooter from "./PageFooter.astro";
|
|
||||||
|
|
||||||
const { siteTitle } = siteConfig;
|
const { siteTitle } = siteConfig;
|
||||||
|
|
||||||
|
|||||||
@@ -131,6 +131,11 @@ const noindex = true;
|
|||||||
<span class="gitea-item__label">博客服务端 API文档</span>
|
<span class="gitea-item__label">博客服务端 API文档</span>
|
||||||
<a class="gitea-item__link" target="_blank" href="https://dev.ua42.com/docs/server-documentation.html">点击访问</a>
|
<a class="gitea-item__link" target="_blank" href="https://dev.ua42.com/docs/server-documentation.html">点击访问</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="gitea-item">
|
||||||
|
<span class="gitea-item__label">Panda Dock</span>
|
||||||
|
<a class="gitea-item__link" target="_blank" href="https://github.com/forestRhapsody/panda-dock">点击访问</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ if (isNaN(pageInt) || pageInt <= 1) {
|
|||||||
return Astro.redirect("/");
|
return Astro.redirect("/");
|
||||||
}
|
}
|
||||||
|
|
||||||
const {postPageSize,description} = siteConfig;
|
const {postPageSize, description} = siteConfig;
|
||||||
|
|
||||||
const http = createHttp(Astro.request.headers);
|
const http = createHttp(Astro.request.headers);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user