Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update head tag order #407

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions apps/spotlight/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,38 @@ const context = getAppContext();
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content=`10x Access to Justice Spotlight - ${title}`
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{title}</title>
<script
async
type="text/javascript"
is:inline
src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA"
id="_fed_an_ua_tag"></script>
<script is:inline src={`${context.uswdsRoot}js/uswds-init.min.js`}></script>
<script src="../lib/initialize.ts"></script>
<link
href="/favicon/apple-touch-icon.png"
href={`${context.baseUrl}favicon/apple-touch-icon.png`}
rel="apple-touch-icon"
sizes="180x180"
/>
<link
href="/favicon/favicon-32x32.png"
href={`${context.baseUrl}favicon/favicon-32x32.png`}
rel="icon"
sizes="32x32"
type="image/png"
/>
<link
href="/favicon/favicon-16x16.png"
href={`${context.baseUrl}favicon/favicon-16x16.png`}
rel="icon"
sizes="16x16"
type="image/png"
/>
<link href="/favicon/favicon.ico" rel="shortcut icon" />
<link href={`${context.baseUrl}favicon/favicon.ico`} rel="shortcut icon" />
<meta name="generator" content={Astro.generator} />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
<meta
name="description"
content=`10x Access to Justice Spotlight - ${title}`
/>
<script is:inline src={`${context.uswdsRoot}js/uswds-init.min.js`}></script>
<script src="../lib/initialize.ts"></script>
<title>{title}</title>
</head>
<body id="top">
<script is:inline defer src={`${context.uswdsRoot}js/uswds.min.js`}></script>
Expand Down
12 changes: 5 additions & 7 deletions packages/server/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ const { title } = Astro.props;
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content=`10x Access to Justice - ${title}` />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{title}</title>
<script
async
is:inline
type="text/javascript"
src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA"
id="_fed_an_ua_tag"></script>
<script src="../lib/initialize.ts"></script>
<link
href="/favicon/apple-touch-icon.png"
rel="apple-touch-icon"
Expand All @@ -41,12 +41,10 @@ const { title } = Astro.props;
/>
<link href="/favicon/favicon.ico" rel="shortcut icon" />
<meta name="generator" content={Astro.generator} />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
<meta
name="description"
content=`10x Access to Justice Spotlight - ${title}`
/>
<script src="../lib/initialize.ts"></script>
<title>{title}</title>
</head>
<body id="top">
<div class="usa-app usa-app__theme-1">
Expand Down
Loading