Remove questionmark from page sitempa

This commit is contained in:
Alicia Sykes 2024-03-28 17:41:24 +00:00
parent 4d60b4f1a6
commit 64d67a50fa

View file

@ -13,5 +13,5 @@ export const fetchData = async (): Promise<AwesomePrivacy> => {
}
export const slugify = (title: string) => {
return (title || '').toLowerCase().replace(/\s/g, '-').replace(/\+|&/g, 'and');
return (title || '').toLowerCase().replace(/\s/g, '-').replace(/\+|&/g, 'and').replaceAll('?', '');
};