diff --git a/theme.config.tsx b/theme.config.tsx index 9d3e1bdc..3e2c5381 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -4,13 +4,10 @@ import { useRouter } from 'next/router'; import Search from '@components/Search'; function useHead() { - const { title } = useConfig(); - return ( <> - {`${title} – Overextended`} ); } @@ -21,7 +18,7 @@ function useNextSeoProps() { const title = arr[arr.length - 1].replace(/[-_]/g, ' '); return { - titleTemplate: /[a-z]/.test(title) && /[A-Z]/.test(title) ? title : '%s', + titleTemplate: `${/[a-z]/.test(title) && /[A-Z]/.test(title) ? title : '%s'} - Overextended`, }; }