diff options
| author | Arnab Kumar Shil <ruddra90@gmail.com> | 2018-12-31 14:08:22 +0600 |
|---|---|---|
| committer | Track3 <34504964+Track3@users.noreply.github.com> | 2018-12-31 16:08:22 +0800 |
| commit | 97cc83914fc7ed67b623d499fbb0cde5d8fe2737 (patch) | |
| tree | 38fb67c3f12e813ab039b7d2c7562a575487c193 /layouts/_default/baseof.html | |
| parent | 97395d876cce68513dc29416cec937a32765df15 (diff) | |
| download | hermit-97cc83914fc7ed67b623d499fbb0cde5d8fe2737.tar.gz | |
Modularize analytics and add extra headers (#26)
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0a4bd7b..6758c98 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -28,6 +28,9 @@ {{ range .Site.Params.CustomCSS -}} <link rel="stylesheet" href="{{ . | absURL }}"> {{- end }} + {{ if templates.Exists "partials/extra-headers.html" -}} + {{ partial "extra-headers.html" . }} + {{- end }} </head> <body id="page"> @@ -36,7 +39,7 @@ {{ block "footer" . -}}{{ end }} {{ $script := resources.Get "js/main.js" | minify | fingerprint -}} <script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script> - {{ template "_internal/google_analytics_async.html" . }} + {{ partial "analytics.html" }} </body> </html> |
