Skip to content

Commit 9ad52ca

Browse files
committed
optimize js loading
1 parent 0b6062a commit 9ad52ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layouts/partials/extend_head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<meta name="google-site-verification" content="rJrwFlRtYvRvSMxmD-zlGY6ozg6aDFMkfavno3ms5Ew" />
22
<meta name="google-adsense-account" content="ca-pub-4739645989170648">
3+
{{- if .Content }}
34
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4739645989170648"
45
crossorigin="anonymous"></script>
6+
{{- end }}
57
<!--link rel="stylesheet" href="https://cdn.staticfile.org/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreen.min.css" media="print" onload="this.media='all'"-->
68
<!-- Google tag (gtag.js) -->
79
<!--script async src="https://liudon.com/analytics/js?id=G-G9ZDJQN9E2"></script-->

0 commit comments

Comments
 (0)