diff options
author | Ge "David" Feng <david.feng.ge@gmail.com> | 2019-01-10 07:12:58 +0300 |
---|---|---|
committer | Track3 <34504964+Track3@users.noreply.github.com> | 2019-01-10 07:12:58 +0300 |
commit | 885bf2c8711d1b4881a849bbafe26efc7626f66b (patch) | |
tree | 05776e5899a39906793724bae9b181831290c9cc | |
parent | f995f7313c805939e9dc09b0a02ad4e2865ab693 (diff) |
Fix analytics partial (#31)
Add the dot to pass along the current context
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 -}} <script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script> - {{- partial "analytics.html" }} + {{- partial "analytics.html" . }} {{- if templates.Exists "partials/extra-foot.html" -}} {{ partial "extra-foot.html" . }} {{- end }} |