-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1b76bc
commit 9576b06
Showing
8 changed files
with
550 additions
and
1 deletion.
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
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,30 @@ | ||
### Analytics | ||
|
||
#### Google Analytics | ||
|
||
Follow [these steps](https://gohugo.io/templates/internal/#configure-google-analytics). | ||
|
||
#### Google Tag Manager | ||
|
||
Follow [these steps](https://developers.google.com/tag-manager). | ||
|
||
```yml | ||
params: | ||
analytics: | ||
google: | ||
SiteVerificationTag: gid | ||
``` | ||
|
||
#### Umami Analytics | ||
|
||
Follow [these steps](https://guangzhengli.com/blog/en/how-to-integrate-umami-for-free-to-blog-site/). | ||
|
||
```yml | ||
params: | ||
analytics: | ||
umami: | ||
enable: true | ||
website_id: data-website-id | ||
url: https://umami-ochre-nu.vercel.app/hugo-ladder.js | ||
``` | ||
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,36 @@ | ||
### Comment Systems | ||
|
||
Comments are displayed within post pages and guestbook. | ||
|
||
#### Giscus | ||
|
||
Follow [these steps](https://giscus.app/). | ||
|
||
```yml | ||
params: | ||
comments: | ||
giscus: | ||
enable: true | ||
repo: username/reponame | ||
repo_id: Rid | ||
category: Announcements | ||
category_id: DIC_id | ||
mapping: pathname | ||
position: top | ||
lang: en # pick a language from https://github.com/giscus/giscus/tree/main/locales | ||
``` | ||
#### Utterances | ||
Follow [these steps](https://utteranc.es/) | ||
```yml | ||
params: | ||
comments: | ||
utteranc: | ||
enable: false | ||
repo: username/reponame | ||
issueTerm: pathname | ||
``` | ||
## |
Oops, something went wrong.