Remove questionmark from page sitempa
This commit is contained in:
parent
4d60b4f1a6
commit
64d67a50fa
|
@ -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('?', '');
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue