1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 21:53:26 +00:00

Simplified the post JS file.

This commit is contained in:
Cotes Chung
2020-06-01 22:40:10 +08:00
parent 032f5c7f83
commit 75c57d1725
5 changed files with 5 additions and 22 deletions

View File

@@ -12,11 +12,7 @@
{% elsif page.layout == 'post' %}
{% if site.toc and page.toc %}
<script src="{{ '/assets/js/post-toc.min.js' | relative_url }}" async></script>
{% else %}
<script src="{{ '/assets/js/post.min.js' | relative_url }}" async></script>
{% endif %}
<script src="{{ '/assets/js/post.min.js' | relative_url }}" async></script>
{% if page.math %}
<!-- MathJax -->