summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authoramzrk22020-04-15 13:19:34 +0800
committeramzrk22020-04-15 13:19:34 +0800
commit10b5414837fc272b73922e01d2fe24ddd5080293 (patch)
treed03988e96458bd11e5facfc6d17548151eb345ec /layouts/partials/head.html
parentda6c84ca4d0e9f56c0d72e6c01c07df94698e216 (diff)
downloadhugo-theme-fuji-10b5414837fc272b73922e01d2fe24ddd5080293.tar.gz
hugo-theme-fuji-10b5414837fc272b73922e01d2fe24ddd5080293.tar.bz2
hugo-theme-fuji-10b5414837fc272b73922e01d2fe24ddd5080293.zip
Google Analytics support
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 91acb3c..0362712 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,6 +13,8 @@
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{ end }}
+{{ partial "analytic-google.html" . }}
+
{{ $options := (dict "targetPath" "css/main.min.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS $options }}
<link rel="stylesheet" href="{{ $style.Permalink }}">