2024-04-11 00:53:31 +03:00

8 lines
168 B
TypeScript

import { PAGE_TITLE } from '@/constants/page';
export function getPageTitle(title?: string) {
if (!title) return PAGE_TITLE;
return `${title} - ${PAGE_TITLE}`;
}