Skip to content

Commit

Permalink
refactor: 🛠️ remove superfluous head tags
Browse files Browse the repository at this point in the history
  • Loading branch information
yjaaidi committed Jul 16, 2024
1 parent 9676862 commit 04f1bb7
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions apps/cookbook/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,6 @@ const config: Config = {
mermaid: true,
},

headTags: [
{
tagName: 'script',
attributes: {
'data-domain': 'cookbook.marmicode.io',
src: 'https://plausible.io/js/script.js',
},
},
{
tagName: 'script',
attributes: {},
/* HACK: make sure default consent is set before config is added by plugin. */
innerHTML: `
function gtag(){dataLayer.unshift(arguments)}
window.dataLayer = window.dataLayer || [];
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});
`,
},
],

themes: ['@docusaurus/theme-mermaid'],

plugins: [
Expand Down

0 comments on commit 04f1bb7

Please sign in to comment.