mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 22:49:44 +00:00
feat: MathJax config message option
eliminate all messages in the lower left-hand corner
This commit is contained in:
parent
bd5d60906e
commit
d60bfcc49a
1 changed files with 7 additions and 1 deletions
|
@ -11,7 +11,13 @@
|
|||
{{- end }}
|
||||
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.5.0" | relURL }}"></script>
|
||||
|
||||
{{ if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) -}}
|
||||
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
showProcessingMessages: false,
|
||||
messageStyle: 'none'
|
||||
};
|
||||
</script>
|
||||
<script async src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'></script>
|
||||
{{- end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue