Add GoatCounter
This commit is contained in:
parent
7dd9e4b11f
commit
22f04c785f
@ -27,5 +27,4 @@ url = ""
|
|||||||
name = "LinkedIn"
|
name = "LinkedIn"
|
||||||
url = ""
|
url = ""
|
||||||
|
|
||||||
[[analytics]]
|
GoatCounterCode = ""
|
||||||
code = ""
|
|
||||||
|
@ -10,6 +10,7 @@ Simple, text-focussed and minimal personal portfolio theme based on https://gith
|
|||||||
* Easy to personalize
|
* Easy to personalize
|
||||||
* RSS feed
|
* RSS feed
|
||||||
* Dark mode (taken from https://www.gwern.net/ as it is.)
|
* Dark mode (taken from https://www.gwern.net/ as it is.)
|
||||||
|
* GoatCounter counts(analytics). Know more about GoatCounter [here](https://goatcounter.com)
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@ -65,6 +66,9 @@ url = ""
|
|||||||
name = "LinkedIn"
|
name = "LinkedIn"
|
||||||
url = ""
|
url = ""
|
||||||
|
|
||||||
|
# This is the endpoint under the integrations section of the Site Code
|
||||||
|
GoatCounterCode = ""
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Posts
|
## Posts
|
||||||
|
@ -42,9 +42,9 @@
|
|||||||
|
|
||||||
<h3><a href="posts/">View all posts</a></h3>
|
<h3><a href="posts/">View all posts</a></h3>
|
||||||
</div>
|
</div>
|
||||||
{{ if ne .Site.Data.personalize.analytics.code ""}}
|
{{ if ne .Site.Data.personalize.GoatCounterCode ""}}
|
||||||
<script data-goatcounter="{{ .Site.Data.personalize.analytics.code }}" async src="//gc.zgo.at/count.js"></script>
|
<script data-goatcounter="{{ .Site.Data.personalize.GoatCounterCode }}" async src="//gc.zgo.at/count.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user