Navigation Menu

Skip to content

Commit

Permalink
Replace MathJax settings from footer to head
Browse files Browse the repository at this point in the history
  • Loading branch information
koirand committed Nov 1, 2020
1 parent fbe3325 commit ef9578b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions layouts/partials/footer.html
Expand Up @@ -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 }}
5 changes: 5 additions & 0 deletions layouts/partials/head.html
Expand Up @@ -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>

0 comments on commit ef9578b

Please sign in to comment.