This commit is contained in:
rustdesk
2024-10-22 14:53:53 +08:00
parent 2eae36d76c
commit 20951eb04f
49 changed files with 6935 additions and 131 deletions

View File

@@ -87,7 +87,7 @@ export const getPermalink = (slug = '', type = 'page'): string => {
};
/** */
export const getHomePermalink = (): string => getPermalink('/');
export const getHomePermalink = (path?: string): string => getPermalink(path || '/');
/** */
export const getBlogPermalink = (): string => getPermalink(BLOG_BASE);