diff --git a/homepage/.prettierignore b/homepage/.prettierignore index 31c5d193..a0bc2868 100644 --- a/homepage/.prettierignore +++ b/homepage/.prettierignore @@ -1,3 +1,6 @@ _legacy _cards +_data +_footer +_pages diff --git a/homepage/public/robots.txt b/homepage/public/robots.txt new file mode 100644 index 00000000..3c3db40d --- /dev/null +++ b/homepage/public/robots.txt @@ -0,0 +1,9 @@ +//robots.txt + +# Block all crawlers for /admin +User-agent: * +Disallow: /admin + +# Allow all crawlers +User-agent: * +Allow: / diff --git a/homepage/src/pages/_document.jsx b/homepage/src/pages/_document.jsx index 58c33aea..27b1fe17 100644 --- a/homepage/src/pages/_document.jsx +++ b/homepage/src/pages/_document.jsx @@ -1,8 +1,9 @@ import { Html, Head, Main, NextScript } from 'next/document'; +import { GTM_ID } from '../lib/gtm'; export default function Document({ locale }) { return ( - + + {/* */} +