aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/blog.html1
-rw-r--r--templates/default.html1
-rw-r--r--templates/microblog.html1
-rw-r--r--templates/oldpost.html1
-rw-r--r--templates/post.html1
-rw-r--r--templates/postlist.html6
6 files changed, 7 insertions, 4 deletions
diff --git a/templates/blog.html b/templates/blog.html
index 442b5c1..d4f8bcb 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -5,6 +5,7 @@
<title>Yuchen's Blog</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/default.html b/templates/default.html
index 7cd66f1..b2886e5 100644
--- a/templates/default.html
+++ b/templates/default.html
@@ -5,6 +5,7 @@
<title>$title$</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/microblog.html b/templates/microblog.html
index 66ef130..16babb2 100644
--- a/templates/microblog.html
+++ b/templates/microblog.html
@@ -5,6 +5,7 @@
<title>Yuchen's Microblog</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/oldpost.html b/templates/oldpost.html
index 8484071..2be3f1a 100644
--- a/templates/oldpost.html
+++ b/templates/oldpost.html
@@ -5,6 +5,7 @@
<title>$title$</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/post.html b/templates/post.html
index 8484071..2be3f1a 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -5,6 +5,7 @@
<title>$title$</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/postlist.html b/templates/postlist.html
index 52a019b..993eaad 100644
--- a/templates/postlist.html
+++ b/templates/postlist.html
@@ -4,10 +4,8 @@
<meta charset="utf-8">
<title>All posts</title>
<link rel="stylesheet" href="../assets/css/default.css" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css" integrity="sha384-TEMocfGvRuD1rIAacqrknm5BQZ7W7uWitoih+jMNFXQIbNl16bO8OZmylH/Vi/Ei" crossorigin="anonymous">
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js" integrity="sha384-jmxIlussZWB7qCuB+PgKG1uLjjxbVVIayPJwi6cG6Zb4YKq0JIw+OMnkkEC7kYCq" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js" integrity="sha384-IiI65aU9ZYub2MY9zhtKd1H2ps7xxf+eb2YFG9lX6uRqpXCvBTOidPRCXCrQ++Uc" crossorigin="anonymous"></script>
- <script> document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body); }); </script>
+ <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>