Skip to content

Commit

Permalink
Merge pull request #243 from ocftw/feature/seo-robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ben196888 authored Sep 25, 2023
2 parents 09671dd + 125720d commit 345f6d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions homepage/public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//robots.txt

# Block all crawlers for /admin
User-agent: *
Disallow: /admin
Expand Down
2 changes: 1 addition & 1 deletion homepage/src/pages/_document.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function Document({ locale }) {
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer',${GTM_ID});`,
})(window,document,'script','dataLayer','${GTM_ID}');`,
}}
/>
</Head>
Expand Down

0 comments on commit 345f6d2

Please sign in to comment.