add some packages and statistic.js
This commit is contained in:
7
package-lock.json
generated
7
package-lock.json
generated
@@ -13,6 +13,7 @@
|
|||||||
"hexo": "^8.1.0",
|
"hexo": "^8.1.0",
|
||||||
"hexo-abbrlink": "^2.2.1",
|
"hexo-abbrlink": "^2.2.1",
|
||||||
"hexo-ai-summary-liushen": "^1.3.1",
|
"hexo-ai-summary-liushen": "^1.3.1",
|
||||||
|
"hexo-butterfly-swiper-lyx": "^1.0.2",
|
||||||
"hexo-deployer-git": "^4.0.0",
|
"hexo-deployer-git": "^4.0.0",
|
||||||
"hexo-douban": "^2.3.6",
|
"hexo-douban": "^2.3.6",
|
||||||
"hexo-filter-mathjax": "^0.9.1",
|
"hexo-filter-mathjax": "^0.9.1",
|
||||||
@@ -1729,6 +1730,12 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/hexo-butterfly-swiper-lyx": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo-butterfly-swiper-lyx/-/hexo-butterfly-swiper-lyx-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-qpH5EMqOJFN1fRKqNXVXMzCvbSP92QEeh0UJ5Jfw9mtv4TsAWJvS+S+CtJc3TfB69it2F19Yk9KszcMBWA5Jow==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/hexo-cli": {
|
"node_modules/hexo-cli": {
|
||||||
"version": "4.3.2",
|
"version": "4.3.2",
|
||||||
"resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo-cli/-/hexo-cli-4.3.2.tgz",
|
"resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo-cli/-/hexo-cli-4.3.2.tgz",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"hexo": "^8.1.0",
|
"hexo": "^8.1.0",
|
||||||
"hexo-abbrlink": "^2.2.1",
|
"hexo-abbrlink": "^2.2.1",
|
||||||
"hexo-ai-summary-liushen": "^1.3.1",
|
"hexo-ai-summary-liushen": "^1.3.1",
|
||||||
|
"hexo-butterfly-swiper-lyx": "^1.0.2",
|
||||||
"hexo-deployer-git": "^4.0.0",
|
"hexo-deployer-git": "^4.0.0",
|
||||||
"hexo-douban": "^2.3.6",
|
"hexo-douban": "^2.3.6",
|
||||||
"hexo-filter-mathjax": "^0.9.1",
|
"hexo-filter-mathjax": "^0.9.1",
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": [
|
|
||||||
"config:recommended",":dependencyDashboard"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
11
themes/butterfly/source/js/statistic.js
Normal file
11
themes/butterfly/source/js/statistic.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
var _paq = window._paq = window._paq || [];
|
||||||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
_paq.push(['trackPageView']);
|
||||||
|
_paq.push(['enableLinkTracking']);
|
||||||
|
(function() {
|
||||||
|
var u="https://statistic.biss.click/";
|
||||||
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||||
|
_paq.push(['setSiteId', '1']);
|
||||||
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
|
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||||
|
})();
|
||||||
Reference in New Issue
Block a user