8 lines
187 B
TypeScript
8 lines
187 B
TypeScript
|
/**
|
||
|
* Set the page title in the format [title] | Eggworld.
|
||
|
* @param title The title string.
|
||
|
*/
|
||
|
export function useTitle(title: string) {
|
||
|
useHead({ title: `${title} | Eggworld` });
|
||
|
}
|