diff --git a/articles/templates/articles/snippets/analytics.html b/articles/templates/articles/snippets/analytics.html index 176bfa9..bc7cc12 100644 --- a/articles/templates/articles/snippets/analytics.html +++ b/articles/templates/articles/snippets/analytics.html @@ -7,8 +7,8 @@ {% endif %} - {% compress js inline %} - {% if goatcounter_domain is not None %} + {% if goatcounter_domain is not None %} + {% compress js inline %} - {% endif %} - {% endcompress %} + {% endcompress %} + + {% endif %} {% endif %}