update
This commit is contained in:
12
utils/config.ts
Normal file
12
utils/config.ts
Normal 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 {}
|
||||
}
|
Reference in New Issue
Block a user