diff options
23 files changed, 39 insertions, 8 deletions
diff --git a/assets/js/analytics.js b/assets/js/analytics.js new file mode 100644 index 0000000..6794e9e --- /dev/null +++ b/assets/js/analytics.js @@ -0,0 +1,15 @@ +<!-- Matomo --> +<script type="text/javascript"> + var _paq = _paq || []; + /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="//analytics.ypei.me/"; + _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setSiteId', '1']); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); + })(); +</script> +<!-- End Matomo Code --> diff --git a/site/blog.html b/site/blog.html index 4bfe026..8832084 100644 --- a/site/blog.html +++ b/site/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/site/index.html b/site/index.html index 86a4a57..8f85f67 100644 --- a/site/index.html +++ b/site/index.html @@ -5,6 +5,7 @@ <title>Yuchen Pei</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/site/links.html b/site/links.html index 9b03c14..9b53d13 100644 --- a/site/links.html +++ b/site/links.html @@ -5,6 +5,7 @@ <title>Links</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/site/microblog.html b/site/microblog.html index 94cab80..3297a40 100644 --- a/site/microblog.html +++ b/site/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/site/postlist.html b/site/postlist.html index 9843665..247d3b4 100644 --- a/site/postlist.html +++ b/site/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> diff --git a/site/posts/2013-06-01-q-robinson-schensted-paper.html b/site/posts/2013-06-01-q-robinson-schensted-paper.html index b6ea55d..0d81693 100644 --- a/site/posts/2013-06-01-q-robinson-schensted-paper.html +++ b/site/posts/2013-06-01-q-robinson-schensted-paper.html @@ -5,6 +5,7 @@ <title>A \(q\)-weighted Robinson-Schensted algorithm</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/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html b/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html index 27375d0..b546aca 100644 --- a/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html +++ b/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html @@ -5,6 +5,7 @@ <title>Symmetry property of \(q\)-weighted Robinson-Schensted algorithms and branching algorithms</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/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html b/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html index 89c1d56..1f72a96 100644 --- a/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html +++ b/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html @@ -5,6 +5,7 @@ <title>AMS review of 'A weighted interpretation for the super Catalan numbers' by Allen and Gheorghiciuc</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/site/posts/2015-04-01-unitary-double-products.html b/site/posts/2015-04-01-unitary-double-products.html index e127904..086503c 100644 --- a/site/posts/2015-04-01-unitary-double-products.html +++ b/site/posts/2015-04-01-unitary-double-products.html @@ -5,6 +5,7 @@ <title>Unitary causal quantum stochastic double products as universal interactions I</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/site/posts/2015-04-02-juggling-skill-tree.html b/site/posts/2015-04-02-juggling-skill-tree.html index 2d32a30..0b98acf 100644 --- a/site/posts/2015-04-02-juggling-skill-tree.html +++ b/site/posts/2015-04-02-juggling-skill-tree.html @@ -5,6 +5,7 @@ <title>jst</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/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html b/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html index 1ad3bc9..3b426fa 100644 --- a/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html +++ b/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html @@ -5,6 +5,7 @@ <title>AMS review of 'Infinite binary words containing repetitions of odd period' by Badkobeh and Crochemore</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/site/posts/2015-07-01-causal-quantum-product-levy-area.html b/site/posts/2015-07-01-causal-quantum-product-levy-area.html index a5cb446..cda8121 100644 --- a/site/posts/2015-07-01-causal-quantum-product-levy-area.html +++ b/site/posts/2015-07-01-causal-quantum-product-levy-area.html @@ -5,6 +5,7 @@ <title>On a causal quantum double product integral related to Lévy stochastic area.</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/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html b/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html index aa5be88..a0d5a7c 100644 --- a/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html +++ b/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html @@ -5,6 +5,7 @@ <title>AMS review of 'Double Macdonald polynomials as the stable limit of Macdonald superpolynomials' by Blondeau-Fournier, Lapointe and Mathieu</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/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html b/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html index e74e392..e7c9a7e 100644 --- a/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html +++ b/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html @@ -5,6 +5,7 @@ <title>A \(q\)-Robinson-Schensted-Knuth algorithm and a \(q\)-polymer</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/site/posts/2017-04-25-open_research_toywiki.html b/site/posts/2017-04-25-open_research_toywiki.html index 1ad89e9..0fed793 100644 --- a/site/posts/2017-04-25-open_research_toywiki.html +++ b/site/posts/2017-04-25-open_research_toywiki.html @@ -5,6 +5,7 @@ <title>Open mathematical research and launching toywiki</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/site/posts/2017-08-07-mathematical_bazaar.html b/site/posts/2017-08-07-mathematical_bazaar.html index 800d75c..0e5f6b0 100644 --- a/site/posts/2017-08-07-mathematical_bazaar.html +++ b/site/posts/2017-08-07-mathematical_bazaar.html @@ -5,6 +5,7 @@ <title>The Mathematical Bazaar</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/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> |