_includes/google_analytics.html in jekyll-theme-prologue-0.2.5 vs _includes/google_analytics.html in jekyll-theme-prologue-0.3.0
- old
+ new
@@ -1,8 +1,8 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
-<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
+<script async src="https://www.googletagmanager.com/gtag/js?id={{- site.google_analytics -}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
- gtag('config', '{{ site.google_analytics }}');
+ gtag('config', '{{- site.google_analytics -}}');
</script>
\ No newline at end of file