diff --git a/template/src/oj/problem/_mathjax_js.html b/template/src/oj/problem/_mathjax_js.html new file mode 100644 index 0000000..9c64ef6 --- /dev/null +++ b/template/src/oj/problem/_mathjax_js.html @@ -0,0 +1,14 @@ + + \ No newline at end of file diff --git a/template/src/oj/problem/contest_problem.html b/template/src/oj/problem/contest_problem.html index b844ec1..a2409bb 100644 --- a/template/src/oj/problem/contest_problem.html +++ b/template/src/oj/problem/contest_problem.html @@ -39,4 +39,5 @@ {% endblock %} {% block js_block %} + {% include "oj/problem/_mathjax_js.html" %} {% endblock %} \ No newline at end of file diff --git a/template/src/oj/problem/problem.html b/template/src/oj/problem/problem.html index 99e8729..15e93d2 100644 --- a/template/src/oj/problem/problem.html +++ b/template/src/oj/problem/problem.html @@ -48,4 +48,5 @@ {% endblock %} {% block js_block %} + {% include "oj/problem/_mathjax_js.html" %} {% endblock %} \ No newline at end of file