This commit is contained in:
toom1996
2025-08-18 17:34:33 +08:00
parent 6dcea93eaa
commit 47b5625128
71 changed files with 2380 additions and 11 deletions

12
utils/config.ts Normal file
View File

@ -0,0 +1,12 @@
import type { IWebsiteConfig } from "./rpc";
export function getConfig(Astro: any):IWebsiteConfig
{
return Astro.locals.template_config;
}
// 取默认的配置
export function getExtra(extraTag: string = '')
{
return {}
}