mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -05:00
Replace MathJax settings from footer to head
This commit is contained in:
parent
fbe3325013
commit
ef9578b083
2 changed files with 5 additions and 3 deletions
|
@ -5,9 +5,6 @@
|
||||||
using the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
using the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
{{ if .Params.math .Site.Params.math}}
|
|
||||||
{{ partial "mathjax_support.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{- range .Site.Params.custom_js -}}
|
{{- range .Site.Params.custom_js -}}
|
||||||
<script src="{{ . }}"></script>
|
<script src="{{ . }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -50,4 +50,9 @@
|
||||||
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
|
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
<!-- MathJax -->
|
||||||
|
{{ if or .Params.math .Site.Params.math }}
|
||||||
|
{{ partial "mathjax_support.html" . }}
|
||||||
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue