Skip to content

Commit

Permalink
Fix path for manifest. Move GA to bottom of html.
Browse files Browse the repository at this point in the history
  • Loading branch information
fsargent committed Jun 12, 2024
1 parent 61c658d commit 10d7cf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
<link rel="manifest" crossorigin="use-credentials" href="manifest.json" />
<meta name="description" content="approval.vote: detailed reports on approval voting elections.">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9FXGFEC813"></script>

%sveltekit.head%
</head>
<div style="display: contents">%sveltekit.body%</div>
<script defer async src="https://www.googletagmanager.com/gtag/js?id=G-9FXGFEC813"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-9FXGFEC813');
</script>
%sveltekit.head%
</head>
<div style="display: contents">%sveltekit.body%</div>
</html>
2 changes: 1 addition & 1 deletion static/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"theme_color": "#437527",
"icons": [
{
"src": "/icons/icon-192x192.png",
"src": "icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
Expand Down

0 comments on commit 10d7cf2

Please sign in to comment.