From f2424b1dc1f2c5ad1cc339747fd8f253f7a3201c Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 6 Mar 2023 07:12:39 -0500 Subject: Added Local MathJax Configuration --- .gitmodules | 3 +++ static/js/MathJax | 1 + templates/blog/activity.html | 34 +++++++++++++++++++++++++++++++++- templates/blog/home.html | 30 +++++++++++++++++++++++++++--- templates/blog/post.html | 30 +++++++++++++++++++++++++++--- 5 files changed, 91 insertions(+), 7 deletions(-) create mode 100644 .gitmodules create mode 160000 static/js/MathJax diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..09a0cde3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "static/js/MathJax"] + path = static/js/MathJax + url = https://github.com/mathjax/MathJax.git diff --git a/static/js/MathJax b/static/js/MathJax new file mode 160000 index 00000000..6273842a --- /dev/null +++ b/static/js/MathJax @@ -0,0 +1 @@ +Subproject commit 6273842a9746731b9ecca0de18ec9fd50a36df99 diff --git a/templates/blog/activity.html b/templates/blog/activity.html index 7c24fb4a..dce9256f 100644 --- a/templates/blog/activity.html +++ b/templates/blog/activity.html @@ -52,6 +52,38 @@ {% endif %} - + + {% endblock %} diff --git a/templates/blog/home.html b/templates/blog/home.html index ee158897..e07440a4 100644 --- a/templates/blog/home.html +++ b/templates/blog/home.html @@ -71,12 +71,36 @@ {% endfor %} - diff --git a/templates/blog/post.html b/templates/blog/post.html index 67231db3..80c7d625 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -109,12 +109,36 @@

You must be logged in to leave a comment.

{% endif %} - -- cgit v1.2.3