A favicon in the HTML itself, with a real file at the root

The icon link was added by the layout at runtime, so the served shell had
none and browsers cached Caddy's HTML fallback as the icon. favicon.ico
and favicon.svg now live in static/ and app.html links both.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0141G6xqLeNRYEtviLWSB5Up
This commit is contained in:
Eric WagonerandClaude Fable 5.1 committed 2026-09-23 12:32:24 -04:00
1 parent e5c240d970
commit ca9a3aa3b6
4 files changed
+2 -5

No files matched your search

-5
View File
@@ -1,12 +1,7 @@
<script lang="ts">
import '../app.css';
import favicon from '$lib/assets/favicon.svg';
let { children } = $props();
</script>
<svelte:head>
<link rel="icon" href={favicon} />
</svelte:head>
{@render children()}