about summary refs log tree commit diff stats
path: root/exampleSite/layouts
diff options
context:
space:
mode:
authorYihui Xie2017-06-15 23:07:44 -0500
committerYihui Xie2017-06-15 23:07:44 -0500
commitec81eb1d4a8294349a26a9d54dbe7148cec3cdf2 (patch)
tree22811ac6d135d30b32b2eaf22083cacc2444237b /exampleSite/layouts
parent111767700619c5184943b1cb3dff3f7e195c2e85 (diff)
downloadhugo-xmin-ec81eb1d4a8294349a26a9d54dbe7148cec3cdf2.tar.lz
hugo-xmin-ec81eb1d4a8294349a26a9d54dbe7148cec3cdf2.tar.zst
hugo-xmin-ec81eb1d4a8294349a26a9d54dbe7148cec3cdf2.zip
add example site
Diffstat (limited to 'exampleSite/layouts')
-rw-r--r--exampleSite/layouts/partials/foot_custom.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html
new file mode 100644
index 0000000..acbbb59
--- /dev/null
+++ b/exampleSite/layouts/partials/foot_custom.html
@@ -0,0 +1,12 @@
+<script src="https://yihui.name/js/math-code.js"></script>
+<script type="text/x-mathjax-config">
+MathJax.Hub.Config({
+  tex2jax: {
+    inlineMath: [['$','$'], ['\\(','\\)']],
+    processEscapes: true
+  }
+});
+</script>
+<script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
+
+<script async src="https://yihui.name/js/center-img.js"></script>