Skip to content

Commit

Permalink
chore: renamed 'proto' to 'scheme' on umami integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyserbyte committed May 13, 2024
1 parent f7acfb0 commit da97bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exampleSite/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ params:
# siteId: 1 # Or any other number
# # Umami
# umami:
# proto: https
# scheme: https
# instance: umami.example.com
# id: <your umami site id>

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

{{ with .umami }}
<!-- Umami analytics -->
<script defer src='{{ or .proto "https" }}://{{ or .instance "analytics.eu.umami.is" }}/script.js' data-website-id="{{ .id }}"></script>
<script defer src='{{ or .scheme "https" }}://{{ or .instance "analytics.eu.umami.is" }}/script.js' data-website-id="{{ .id }}"></script>
<!-- End Umami analytics -->
{{end}}
{{ end }}
Expand Down

0 comments on commit da97bc1

Please sign in to comment.