vchikalkin bf06e9e782 move pages/admin -> pages/admin/cache
add global page title constant
2024-04-10 10:19:05 +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}`;
}