mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 23:15:31 -04:00
re-organize a bunch of partials
This commit is contained in:
8
layouts/partials/scripts/google_analytics.html
Normal file
8
layouts/partials/scripts/google_analytics.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ 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="https://www.google-analytics.com/analytics.js"></script>
|
||||
{{ end }}
|
Reference in New Issue
Block a user