Przeglądaj źródła

feat(analytic): fix a typo in umami (#788)

### Prerequisites

- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

This PR fix a typo in the added Umami analytic introduced in #787.
The typo resulted in `siteID` not properly read from config and
therefore does not work with umami.

### Issues Resolved

N/A

### Checklist

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [x] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
Easton Man 2 lat temu
rodzic
commit
a198b8eb15
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      layouts/partials/analytics/umami.html

+ 1 - 1
layouts/partials/analytics/umami.html

@@ -1,4 +1,4 @@
 <!-- Umami Analytics START -->
-<script async defer data-website-id="{{ .Site.Params.umami.websiteId }}"
+<script async defer data-website-id="{{ .Site.Params.umami.siteID }}"
     src="{{ .Site.Params.umami.serverURL }}/umami.js"></script>
 <!-- Umami Analytics END -->