-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename umami to umami-analytics
- Loading branch information
Showing
8 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Hugo Umami Module | ||
|
||
[![Used By](https://flat.badgen.net/github/dependents-repo/hugomods/umami?icon=github&label=used+by&color=green)](https://github.com/hugomods/umami/network/dependents) | ||
![Hugo Requirements](https://img.shields.io/badge/dynamic/json?color=important&label=requirements&query=requirements&logo=hugo&style=flat-square&url=https://api.razonyang.com/v1/hugo/modules/github.com/hugomods/umami) | ||
[![License](https://flat.badgen.net/github/license/hugomods/umami)](https://github.com/hugomods/umami/blob/main/LICENSE) | ||
[![Version](https://flat.badgen.net/github/tag/hugomods/umami)](https://github.com/hugomods/umami/tags) | ||
[![Used By](https://flat.badgen.net/github/dependents-repo/hugomods/umami-analytics?icon=github&label=used+by&color=green)](https://github.com/hugomods/umami-analytics/network/dependents) | ||
![Hugo Requirements](https://img.shields.io/badge/dynamic/json?color=important&label=requirements&query=requirements&logo=hugo&style=flat-square&url=https://api.razonyang.com/v1/hugo/modules/github.com/hugomods/umami-analytics) | ||
[![License](https://flat.badgen.net/github/license/hugomods/umami-analytics)](https://github.com/hugomods/umami-analytics/blob/main/LICENSE) | ||
[![Version](https://flat.badgen.net/github/tag/hugomods/umami-analytics)](https://github.com/hugomods/umami-analytics/tags) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module github.com/hugomods/umami | ||
module github.com/hugomods/umami-analytics | ||
|
||
go 1.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[params.hugopress.modules.umami.hooks.head-end] | ||
[params.hugopress.modules.umami-analytics.hooks.head-end] | ||
cacheable = true | ||
cache_param_key = "analyze" | ||
|
||
[params.services.umami] | ||
[params.services.umami_analytics] | ||
script_url = "https://cloud.umami.is/script.js" |
2 changes: 1 addition & 1 deletion
2
...ts/partials/hugomods/umami/assets/js.html → ...s/hugomods/umami-analytics/assets/js.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{{- with site.Params.services.umami.id }} | ||
<script | ||
defer | ||
src="{{ site.Params.services.umami.script_url }}" | ||
src="{{ site.Params.services.umami_analytics.script_url }}" | ||
data-website-id="{{ . }}"> | ||
</script> | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{- if default true .Params.analyze }} | ||
{{ partialCached "hugomods/umami-analytics/assets/js" . }} | ||
{{- end }} |
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
layouts/partials/hugopress/modules/umami-analytics/hooks/head-end.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ partialCached "hugomods/umami-analytics/index" .Page .Page.Params.analyze }} |
This file was deleted.
Oops, something went wrong.