mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2025-01-18 02:40:25 +00:00
Add Google Analytics support
Signed-off-by: Piotr Bocheński <bochenski.piotr@gmail.com>
This commit is contained in:
parent
1305b59afa
commit
b647b4e784
1 changed files with 5 additions and 0 deletions
|
@ -10,4 +10,9 @@
|
|||
|
||||
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | toCSS | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous" media="screen" />
|
||||
|
||||
{{- if .Site.GoogleAnalytics }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{- end -}}
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue