forked from TrueCloudLab/dot-hugo
added google analitycs
This commit is contained in:
parent
123b654e48
commit
5f0aabfc53
2 changed files with 5 additions and 1 deletions
|
@ -5,8 +5,10 @@ baseURL = "https://examplesite.com/"
|
||||||
theme = "dot"
|
theme = "dot"
|
||||||
# site title
|
# site title
|
||||||
title = "Dot"
|
title = "Dot"
|
||||||
# desable language
|
# disable language
|
||||||
disableLanguages = []
|
disableLanguages = []
|
||||||
|
# google analytics
|
||||||
|
googleAnalytics = "" # paste your analytics ID here. Ex: UA-123-45
|
||||||
|
|
||||||
# unsafe html
|
# unsafe html
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
|
|
|
@ -55,4 +55,6 @@
|
||||||
<script src="{{ `plugins/highlight/highlight.pack.js` | absURL }}"></script>
|
<script src="{{ `plugins/highlight/highlight.pack.js` | absURL }}"></script>
|
||||||
<script>hljs.initHighlightingOnLoad();</script>
|
<script>hljs.initHighlightingOnLoad();</script>
|
||||||
|
|
||||||
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
|
||||||
</head>
|
</head>
|
Loading…
Reference in a new issue