Skip to content

Commit

Permalink
Move JavaScript to head (#449)
Browse files Browse the repository at this point in the history
We use defer for all JS so the requests are non-blocking
  • Loading branch information
XhmikosR authored Mar 30, 2024
1 parent 3f23785 commit 7bd4460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
</div>

{{ partial "footer" . }}
{{ partial "scripts" . }}
</body>
</html>
1 change: 1 addition & 0 deletions src/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
{{ partial "stylesheet" . -}}
{{ partial "favicons" . -}}
{{ partial "social" . -}}
{{ partial "scripts" . -}}
{{- if hugo.IsProduction }}
{{ partial "analytics" . -}}
{{- end }}

0 comments on commit 7bd4460

Please sign in to comment.