Fix analytics partial (#31)
Add the dot to pass along the current context
This commit is contained in:
parent
f995f7313c
commit
885bf2c871
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue