Instrument JS with copy/pasted snippet

this avoids having to set `unsafe-inline` in our CSP header
This commit is contained in:
Ryan Ahearn
2023-05-02 15:26:57 -04:00
parent 3f44877c8b
commit 3f13598f70
10 changed files with 36 additions and 2 deletions

View File

@@ -7,9 +7,10 @@
<html lang="{{ htmlLang | default('en') }}" class="govuk-template {{ htmlClasses }}">
<head>
<meta charset="utf-8" />
<title>{% block pageTitle %}GOV.UK - The best place to find government services and information{% endblock %}</title>
<title>{% block pageTitle %}U.S. Notify{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="{{ themeColor | default('#0b0c0c') }}" /> {# Hardcoded value of $govuk-black #}
{% include "partials/newrelic.html" -%}
{# Ensure that older IE versions always render with the correct rendering engine #}
<meta http-equiv="X-UA-Compatible" content="IE=edge" />