diff --git a/_config.yml b/_config.yml
index 340c77b..28c2011 100755
--- a/_config.yml
+++ b/_config.yml
@@ -66,6 +66,9 @@ google_fonts: 'Ubuntu|Ubuntu+Mono' # 多个字体中间用英文竖线隔开
# style: material # 导航栏和标题栏背景是主题色
style: pure # 导航栏和标题栏背景是白色
+# 是否在archive(主页、分类、归档和标签页)中针对摘要部分的MathJax公式加载mathjax.js文件
+# 对网站加载速度略有影响,如果你确定不会在阅“读全文之”前放置数学公式,请将此选项设置为false。
+abstract_mathjax: false
# 右边的小窗口,不想显示哪一项的把enable设置为false即可
widgets:
diff --git a/layout/_partial/archive.ejs b/layout/_partial/archive.ejs
index 48b72d8..0c623e2 100755
--- a/layout/_partial/archive.ejs
+++ b/layout/_partial/archive.ejs
@@ -46,3 +46,20 @@
<% } %>
+
+
+<% if (theme.abstract_mathjax){ %>
+ <%
+ var need_mathjax = false;
+ page.posts.each(function(post){
+ if (post.mathjax){
+ need_mathjax = true;
+ }
+ });
+ %>
+
+ <% if (need_mathjax){ %>
+ <%- partial('mathjax') %>
+ <% } %>
+
+<% } %>
diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs
index c678f0e..8469a83 100755
--- a/layout/_partial/article.ejs
+++ b/layout/_partial/article.ejs
@@ -124,6 +124,11 @@
+
+<% if (page.mathjax){ %>
+ <%- partial('mathjax') %>
+<% } %>
+
diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs
index aa1234e..d3f857b 100755
--- a/layout/_partial/footer.ejs
+++ b/layout/_partial/footer.ejs
@@ -14,7 +14,3 @@
总访问量为 次。
-
-<% if (page.mathjax){ %>
- <%- partial('mathjax') %>
-<% } %>