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

Kirill
15.52.2023 c4665043f9957b7ed9b5a07c7074bb520563a5ba
refs
author Kirill <g4s8.public@gmail.com>
Wednesday, November 15, 2023 01:52 +0100
committer GitHub <noreply@github.com>
Wednesday, November 15, 2023 01:52 +0100
commitc4665043f9957b7ed9b5a07c7074bb520563a5ba
tree a36f90be7a60cae203caa14414f50ad93b4e3a51 tree | zip | gz
parent e35f1da207cb25f4fce730177423d041cf90e7dd view | diff
Add clicky analytics (#856)

### Prerequisites

Put an `x` into the box(es) that apply:

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

### Description

Add script tag with `async` and `data-id` attributes for clicky
analytics. See https://clicky.com

The hugo-coder lacks of clicky analytics integration, which I'm
currently using.

### Checklist

Put an `x` into the box(es) that apply:

#### General

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

#### Resources

- [ ] 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
2 files added
3 files modified
15 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
docs/analytics.md 3 ●●●● diff | view | raw | blame | history
docs/analytics/clicky.md 6 ●●●●● diff | view | raw | blame | history
layouts/_default/baseof.html 4 ●●●● diff | view | raw | blame | history
layouts/partials/analytics/clicky.html 1 ●●●● diff | view | raw | blame | history