mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-03 16:52:51 +00:00
34ad9a4f17
Having them in separate files should make maintainance easier. When adding new or making changes to the templates: ```bash mage generate ``` This will get the Go code in sync. Fixes #4457
8 lines
No EOL
269 B
HTML
Executable file
8 lines
No EOL
269 B
HTML
Executable file
{{ with .Site.GoogleAnalytics }}
|
|
<script>
|
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
ga('create', '{{ . }}', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
<script async src='//www.google-analytics.com/analytics.js'></script>
|
|
{{ end }} |