Commit 5d129e1 1 parent a111ce9 commit 5d129e1 Copy full SHA for 5d129e1
File tree 1 file changed +7
-5
lines changed
nikola/data/themes/base/templates
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 28
28
</%def>
29
29
30
30
<%def name="math_styles()">
31
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
31
+ % if use_katex:
32
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
33
+ % endif
32
34
</%def>
33
35
34
36
<%def name="math_scripts_ifpost(post)">
35
37
%if post.is_mathjax:
36
- ${math. math_scripts()}
38
+ ${math_scripts()}
37
39
%endif
38
40
</%def>
39
41
40
42
<%def name="math_scripts_ifposts(posts)">
41
43
%if any(post.is_mathjax for post in posts):
42
- ${math. math_scripts()}
44
+ ${math_scripts()}
43
45
%endif
44
46
</%def>
45
47
46
48
<%def name="math_styles_ifpost(post)">
47
49
%if post.is_mathjax:
48
- ${math. math_styles()}
50
+ ${math_styles()}
49
51
%endif
50
52
</%def>
51
53
52
54
<%def name="math_styles_ifposts(posts)">
53
55
%if any(post.is_mathjax for post in posts):
54
- ${math. math_styles()}
56
+ ${math_styles()}
55
57
%endif
56
58
</%def>
You can’t perform that action at this time.
0 commit comments