Init: First Commit
一个初始的版本
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// 站点名称
|
||||
export const siteTitle = (title?: string) => {
|
||||
const siteName = import.meta.env.APP_SITENAME;
|
||||
|
||||
return title ? `${title} - ${siteName}` : siteName;
|
||||
}
|
||||
|
||||
// Classnames
|
||||
export const clsn = (...clsn: (string | undefined | null | false)[]) => {
|
||||
return clsn.filter(item => item).join(" ");
|
||||
}
|
||||
Reference in New Issue
Block a user