culinary.kemonine.info/themes/hugo-theme-techdoc/layouts/partials/prepend-body.html
2022-12-03 10:27:03 -05:00

11 lines
407 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{ if .Site.IsServer }}
<!-- only production, not generate Google Analytics with Hugos built-in server -->
{{ else }}
{{- with .Site.Params.tag_manager_container_id -}}
<!-- BEGIN: Tag Manager -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ . }}"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- END: Tag Manager -->
{{- end -}}
{{- end -}}