diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 68540ee..009893f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,10 +29,14 @@ {{ $customCssPath := "css/custom.css" }} {{ $customCss:= resources.Get $customCssPath | resources.ExecuteAsTemplate $customCssPath . }} <link rel="stylesheet" type="text/css" href="{{ $customCss.RelPermalink }}"> + + {{ if hugo.IsProduction }} + {{ template "_internal/google_analytics.html" . }} + {{ end }} {{ $title := print .Title " | " .Site.Title }} {{ if .IsHome }} {{ $title = .Site.Title }} {{ end }} <title>{{ $title }}</title> -</head>
\ No newline at end of file +</head> |