Skip to content

Commit

Permalink
add condition
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroelfs committed Feb 19, 2024
1 parent eae62b1 commit eb16e80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
{{ end }}
{{ end }}

<script async src="https://web-analytics.danielroelfs.app/script.js" data-website-id="10185115-89df-427f-9aea-8c3575857825"></script>
{{ if not .Site.IsServer }}
<script async src="https://web-analytics.danielroelfs.app/script.js" data-website-id="10185115-89df-427f-9aea-8c3575857825"></script>
{{ end }}
{{ if and .Site.Params.umami (not .Site.IsServer) }}
<script async src="{{ .Site.Params.umamilink }}" data-website-id="{{ .Site.Params.umamiid }}"></script>
{{ end }}
Expand Down

0 comments on commit eb16e80

Please sign in to comment.