1
0
Fork 0

Move the noscript img tag to the "footer"

This commit is contained in:
Carlos Mogas da Silva 2021-05-18 13:34:17 +01:00
parent ea5e0ff7c3
commit 473cc87754
2 changed files with 3 additions and 3 deletions

View file

@ -24,8 +24,5 @@
})();
</script>
<script src="{{ "assets/hugo-matomo.js" | absURL }}"></script>
{{ if and (isset .Site.Params.matomo "noscript") (eq .Site.Params.matomo.noscript true) }}
<noscript><p><img referrerpolicy="no-referrer-when-downgrade" src="{{- .Site.Params.matomo.url -}}/matomo.php?idsite={{- .Site.Params.matomo.id -}}&rec=1" style="border:0;" alt="" /></p></noscript>
{{ end }}
<!-- End Matomo Code -->
{{ end }}