Compare commits

..

No commits in common. "542aef157a006858f1ded8df95d89f2dbe8b00b6" and "c9ae8804eb23e67d54ad7a6e0805135b777d3e04" have entirely different histories.

2 changed files with 3 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "website-headers", "name": "website-headers",
"version": "1.7.0", "version": "1.6.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"type": "module", "type": "module",

View File

@ -42,7 +42,7 @@ openGraphDescription.setAttribute("property", "og:description");
openGraphDescription.setAttribute( openGraphDescription.setAttribute(
"content", "content",
description?.getAttribute("content") description?.getAttribute("content")
// eslint-disable-next-line stylistic/max-len -- big boi string // eslint-disable-next-line stylistic/max-len
?? "We are a software engineering and community management consulting firm.", ?? "We are a software engineering and community management consulting firm.",
); );
const openGraphImage = document.createElement("meta"); const openGraphImage = document.createElement("meta");
@ -75,7 +75,7 @@ twitterDescription.setAttribute("name", "twitter:description");
twitterDescription.setAttribute( twitterDescription.setAttribute(
"content", "content",
description?.getAttribute("content") description?.getAttribute("content")
// eslint-disable-next-line stylistic/max-len -- big boi string // eslint-disable-next-line stylistic/max-len
?? "We are a software engineering and community management consulting firm.", ?? "We are a software engineering and community management consulting firm.",
); );
const twitterImage = document.createElement("meta"); const twitterImage = document.createElement("meta");
@ -309,12 +309,6 @@ function() {
(window.plausible.q = window.plausible.q ?? []).push(arguments) (window.plausible.q = window.plausible.q ?? []).push(arguments)
} }
`; `;
const googleAdsense = document.createElement("script");
googleAdsense.async = true;
googleAdsense.src
// eslint-disable-next-line stylistic/max-len -- big boi string
= "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3569924701890974";
googleAdsense.setAttribute("crossorigin", "anonymous");
// #endregion // #endregion
@ -343,7 +337,6 @@ head?.appendChild(treeNation);
head?.appendChild(fontAwesome); head?.appendChild(fontAwesome);
head?.appendChild(analytics); head?.appendChild(analytics);
head?.appendChild(analytics2); head?.appendChild(analytics2);
head?.appendChild(googleAdsense);
body?.appendChild(footer); body?.appendChild(footer);
body?.appendChild(treeNationBottom); body?.appendChild(treeNationBottom);