A favicon in the HTML itself, with the file in static

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0141G6xqLeNRYEtviLWSB5Up
This commit is contained in:
Eric Wagoner
2026-09-23 12:32:58 -04:00
co-authored by Claude Fable 5.1
parent d4a2b2a84e
commit 2ab6dc4b5f
3 changed files with 2 additions and 5 deletions
+2
View File
@@ -8,6 +8,8 @@
<title>__NAME__</title> <title>__NAME__</title>
<meta name="description" content="__NAME__: a game between friends, free in the browser." /> <meta name="description" content="__NAME__: a game between friends, free in the browser." />
<link rel="canonical" href="https://__DOMAIN__/" /> <link rel="canonical" href="https://__DOMAIN__/" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:site_name" content="__NAME__" /> <meta property="og:site_name" content="__NAME__" />
<meta property="og:title" content="__NAME__" /> <meta property="og:title" content="__NAME__" />
-5
View File
@@ -1,12 +1,7 @@
<script lang="ts"> <script lang="ts">
import '../app.css'; import '../app.css';
import favicon from '$lib/assets/favicon.svg';
let { children } = $props(); let { children } = $props();
</script> </script>
<svelte:head>
<link rel="icon" href={favicon} />
</svelte:head>
{@render children()} {@render children()}

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 246 B