Commit 64d67a50fa
Unsigned
Layout: unified · split
web/src/utils/fetch-data.ts +1 −1
| @@ -13,5 +13,5 @@ export const fetchData = async (): Promise<AwesomePrivacy> => { | |||
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | export const slugify = (title: string) => { | 15 | export const slugify = (title: string) => { |
| 16 | return (title || '').toLowerCase().replace(/\s/g, '-').replace(/\+|&/g, 'and'); | 16 | return (title || '').toLowerCase().replace(/\s/g, '-').replace(/\+|&/g, 'and').replaceAll('?', ''); |
| 17 | }; | 17 | }; |