diff options
author | Yuchen Pei <me@ypei.me> | 2018-04-29 19:30:22 +0200 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2018-04-29 19:30:22 +0200 |
commit | c61f65701b6304ae82b41bb59acc39ef7d3d2502 (patch) | |
tree | 8931677f0583e3c231e2a484cb19936e81b78ae7 /templates | |
parent | 2822a3c7dd36d52e550f501602b135b330f6ab48 (diff) | |
parent | 4fa8a77b088a9028f4838cfca4d3a0ccc88eb390 (diff) |
Merge branch 'master' into dev
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blog.html | 1 | ||||
-rw-r--r-- | templates/default.html | 1 | ||||
-rw-r--r-- | templates/microblog.html | 1 | ||||
-rw-r--r-- | templates/oldpost.html | 1 | ||||
-rw-r--r-- | templates/post.html | 1 | ||||
-rw-r--r-- | templates/postlist.html | 6 |
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> |