added google analitycs

This commit is contained in:
somrat 2020-04-23 09:04:24 +06:00
parent 123b654e48
commit 5f0aabfc53
2 changed files with 5 additions and 1 deletions

View file

@ -5,8 +5,10 @@ baseURL = "https://examplesite.com/"
theme = "dot"
# site title
title = "Dot"
# desable language
# disable language
disableLanguages = []
# google analytics
googleAnalytics = "" # paste your analytics ID here. Ex: UA-123-45
# unsafe html
[markup.goldmark.renderer]

View file

@ -55,4 +55,6 @@
<script src="{{ `plugins/highlight/highlight.pack.js` | absURL }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{ template "_internal/google_analytics.html" . }}
</head>