diff --git a/pinaxcon/templates/site_base.html b/pinaxcon/templates/site_base.html index dcd86aa2..bb882d5d 100644 --- a/pinaxcon/templates/site_base.html +++ b/pinaxcon/templates/site_base.html @@ -44,8 +44,8 @@ {% block template_overrides %}{% endblock %}
- {% block alert %}{% endblock %} - {% block navbar %}{% include 'nav.html' %}{% endblock %} + {% block alert %}{% endblock %} + {% block navbar %}{% include 'nav.html' %}{% endblock %}
{% if messages %} @@ -82,25 +82,25 @@ {% block scripts %} + src="https://code.jquery.com/jquery-3.3.1.min.js" + integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" + crossorigin="anonymous"> {% if settings.ANALYTICS_KEY %} - - - + + gtag('config', '{{ settings.ANALYTICS_KEY }}'); + {% else %} - + {% endif %} {% block extra_script %} {% endblock %} @@ -113,42 +113,51 @@ {% endblock %} -