_layouts/default.html in uswds-jekyll-2.1.0 vs _layouts/default.html in uswds-jekyll-2.2.0
- old
+ new
@@ -3,10 +3,13 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}">
<head>
{% include meta.html %}
{% include styles.html %}
+ {% if site.google_analytics_ua or site.dap_agency %}
+ {% include analytics.html %}
+ {% endif %}
</head>
<body class="{{ layout.class }} {{ page.class }}">
{% include skipnav.html %}
{% include header.html %}
@@ -14,11 +17,8 @@
<main id="main-content"{% for _attr in layout.main %} {{ _attr[0] }}="{{ _attr[1] }}"{% endfor %}>
{{ content }}
</main>
{% include footer.html %}
- {% if site.google_analytics_ua or site.dap_agency %}
- {% include analytics.html %}
- {% endif %}
{% include scripts.html %}
</body>
</html>