diff --git a/_includes/scripts.html b/_includes/scripts.html
index 36e1bc34..e08fb27c 100644
--- a/_includes/scripts.html
+++ b/_includes/scripts.html
@@ -17,3 +17,4 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
+{% endif %}
diff --git a/_layouts/post.html b/_layouts/post.html
index 5539ee0d..8e563e42 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -66,4 +66,4 @@
{% include scripts.html %}