mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-12-25 02:12:44 +00: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.
|
||||
</p>
|
||||
</footer>
|
||||
{{ if .Params.math .Site.Params.math}}
|
||||
{{ partial "mathjax_support.html" . }}
|
||||
{{ end }}
|
||||
{{- range .Site.Params.custom_js -}}
|
||||
<script src="{{ . }}"></script>
|
||||
{{ end }}
|
||||
|
|
|
@ -50,4 +50,9 @@
|
|||
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
<!-- MathJax -->
|
||||
{{ if or .Params.math .Site.Params.math }}
|
||||
{{ partial "mathjax_support.html" . }}
|
||||
{{ end }}
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue