Skip to content

Commit

Permalink
Properly configure script tag inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed May 30, 2023
1 parent 7b7a699 commit 9485baf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 6 additions & 1 deletion src/views/components/footer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const footer = html`
<a href="/about">About</a>
<span> | </span>
<a target="_blank" href="https://kiwinews.sleekplan.app/">Request Feature</a>
<script src="bundle.js"></script>
<script defer src="bundle.js"></script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-21BKTD0NKN"
></script>
<script async src="ga.js"></script>
`;
export default footer;
5 changes: 0 additions & 5 deletions src/views/components/head.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import vhtml from "vhtml";
const html = htm.bind(vhtml);

export default html`
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-21BKTD0NKN"
></script>
<script src="ga.js"></script>
<meta charset="utf-8" />
<meta name="referrer" content="origin" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down

0 comments on commit 9485baf

Please sign in to comment.