Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Track3/hermit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGe "David" Feng <david.feng.ge@gmail.com>2019-01-10 07:12:58 +0300
committerTrack3 <34504964+Track3@users.noreply.github.com>2019-01-10 07:12:58 +0300
commit885bf2c8711d1b4881a849bbafe26efc7626f66b (patch)
tree05776e5899a39906793724bae9b181831290c9cc
parentf995f7313c805939e9dc09b0a02ad4e2865ab693 (diff)
Fix analytics partial (#31)
Add the dot to pass along the current context
-rw-r--r--layouts/_default/baseof.html2
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 }}