Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Added defer to Pirsch script tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kugelschieber committed Sep 2, 2021
1 parent 61c3c70 commit 885c841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<script type="text/javascript" src="{{$js.RelPermalink}}"></script>

{{if .Site.Params.pirsch}}
<script type="text/javascript" src="https://api.pirsch.io/pirsch.js"
<script defer type="text/javascript" src="https://api.pirsch.io/pirsch.js"
id="pirschjs"
data-code="{{.Site.Params.pirsch}}"></script>
{{end}}
Expand Down

0 comments on commit 885c841

Please sign in to comment.