Skip to content

Commit

Permalink
moved js to RelPermalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jhilker98 committed Oct 2, 2023
1 parent fbd3d26 commit 3e590ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ $halfmoonJs := resources.Get "js/halfmoon.js" | resources.Minify | resources.Fingerprint}}
<script src="{{$halfmoonJs.Permalink}}" {{if eq .Site.Params.themePref "dark"}} onload="halfmoon.toggleDarkMode();"{{end}}></script>
<script src="{{$halfmoonJs.RelPermalink}}" {{if eq .Site.Params.themePref "dark"}} onload="halfmoon.toggleDarkMode();"{{end}}></script>
{{ if or (eq .Params.Math true) (eq .Site.Params.math true) }}
{{ partial "math.html" . }}
{{ end }}
Expand Down

0 comments on commit 3e590ce

Please sign in to comment.