Skip to content

Commit

Permalink
Create statistics.js (#57)
Browse files Browse the repository at this point in the history
* Create statistics.js
* Update conf.py
  • Loading branch information
Yikun authored Nov 4, 2024
1 parent 15ee212 commit 29a94af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _static/statistics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?102ee21b68fd0e419aa031b4b9645cb5";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@
def setup(app):
app.add_css_file('custom.css')
app.add_js_file('package_info.js')
app.add_js_file('statistics.js')

0 comments on commit 29a94af

Please sign in to comment.