mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-24 06:56:59 +00:00
Add google analytics
This commit is contained in:
@@ -33,6 +33,8 @@ disableSitemap = false
|
|||||||
disable404 = false
|
disable404 = false
|
||||||
disableHugoGeneratorInject = false
|
disableHugoGeneratorInject = false
|
||||||
|
|
||||||
|
googleAnalytics = "UA-136337666-1"
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
posts = "/posts/:year/:month/:title/"
|
posts = "/posts/:year/:month/:title/"
|
||||||
|
|
||||||
|
|||||||
@@ -64,4 +64,6 @@
|
|||||||
{{ if .OutputFormats.Get "json" }}
|
{{ if .OutputFormats.Get "json" }}
|
||||||
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
|
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
|
||||||
type="application/json" title="{{ .Site.Title }}" />
|
type="application/json" title="{{ .Site.Title }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
Reference in New Issue
Block a user