From 885bf2c8711d1b4881a849bbafe26efc7626f66b Mon Sep 17 00:00:00 2001 From: "Ge \"David\" Feng" Date: Wed, 9 Jan 2019 23:12:58 -0500 Subject: [PATCH] Fix analytics partial (#31) Add the dot to pass along the current context --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 976b786..18941b2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -34,7 +34,7 @@ {{ block "footer" . -}}{{ end }} {{ $script := resources.Get "js/main.js" | minify | fingerprint -}} - {{- partial "analytics.html" }} + {{- partial "analytics.html" . }} {{- if templates.Exists "partials/extra-foot.html" -}} {{ partial "extra-foot.html" . }} {{- end }}