Skip to content

Commit

Permalink
move to head
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahui92 committed Jul 26, 2024
1 parent b90cbec commit b68fc7f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
11 changes: 0 additions & 11 deletions themes/Wikitten/layout/common/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,4 @@
<br> <a href="https://beian.miit.gov.cn"><%= config.icp %></a>
</div>
</div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2208345408746087"
crossorigin="anonymous"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5VX9BHYZQS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5VX9BHYZQS');
</script>
</footer>
13 changes: 13 additions & 0 deletions themes/Wikitten/layout/common/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,17 @@
<% if (theme.plugins.busuanzi_count) { %>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<% } %>

<!-- Google adv -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2208345408746087"
crossorigin="anonymous"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5VX9BHYZQS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5VX9BHYZQS');
</script>
</head>

0 comments on commit b68fc7f

Please sign in to comment.