mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-08-22 22:16:14 +08:00
chore: add google analytics.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
{ "rel": "apple-touch-icon", "sizes": "167x167", "href": "{{RELATIVE_PATH}}icons/touch-icon-ipad-retina.png" },
|
||||
{ "rel": "apple-touch-icon", "sizes": "120x120", "href": "{{RELATIVE_PATH}}icons/touch-icon-iphone-retina.png" }
|
||||
],
|
||||
"analyticsId": "G-9MWEWXSDQK",
|
||||
"giscus": {
|
||||
"src": "https://giscus.app/client.js",
|
||||
"data-repo": "jaywcjlove/reference",
|
||||
|
@@ -686,3 +686,12 @@ $ open dist/index.html # 在浏览器打开生成 HTML
|
||||
|
||||
MIT © [Kenny Wong](https://github.com/jaywcjlove)
|
||||
<!--rehype:ignore:end-->
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9MWEWXSDQK"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-9MWEWXSDQK');
|
||||
</script>
|
@@ -36,7 +36,7 @@
|
||||
"markdownlint": "^0.33.0",
|
||||
"markdownlint-cli": "^0.39.0",
|
||||
"prettier": "^3.0.0",
|
||||
"refs-cli": "^1.8.0"
|
||||
"refs-cli": "^1.9.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
|
Reference in New Issue
Block a user