Skip to content

Commit

Permalink
fix: make adsense script async
Browse files Browse the repository at this point in the history
  • Loading branch information
kane50613 committed Oct 10, 2024
1 parent 0f4dd24 commit 86a49a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layouts/base-layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const themeScript = `!function e(){let t=localStorage.getItem("theme");!t&&windo
<link rel="canonical" href={url} />
<script
is:inline
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1801171681307308"
crossorigin="anonymous"></script>
</head>
Expand Down

0 comments on commit 86a49a7

Please sign in to comment.