Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置mathjax模块的开关 #37

Closed
myqianlan opened this issue Nov 14, 2014 · 2 comments
Closed

设置mathjax模块的开关 #37

myqianlan opened this issue Nov 14, 2014 · 2 comments
Labels

Comments

@myqianlan
Copy link
Contributor

由于mathjax响应速度略慢,所以不需要的用户可以如此设置开关。
同样希望作者把这个加上去,由于太简单,我就不发request了。
设置如下:

在_config.yml里面加一句

mathjax: false

在after-footer.ejs里面将

<%- partial('mathjax') %>

换成

<% if (theme.mathjax){ %>
  <%- partial('mathjax') %>
<% } %>
@xiangming
Copy link
Owner

@myqianlan 你做的蛮好的,如果你能抽空发一个request就更好了,感谢!

@xiangming
Copy link
Owner

Closed by this pulll request
我先关掉这条,如果还有问题你再reopen。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants