mirror of https://github.com/luizdepra/hugo-coder.git

Easton Man
22.16.2023 a198b8eb15c0d1a25baf7574bfebeae9be1abcf4
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
1 files modified
2 ■■■ changed files
layouts/partials/analytics/umami.html 2 ●●● patch | view | raw | blame | history
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 -->