From 2d016249cb97c7d89a740aea12f6e3ef544a589c Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Wed, 14 Jan 2026 15:35:36 +0100
Subject: feat: immediately remove theme=

---
 src/routes/blog/+layout.svelte | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/routes/blog/+layout.svelte')

diff --git a/src/routes/blog/+layout.svelte b/src/routes/blog/+layout.svelte
index 1006fdd..86447b4 100644
--- a/src/routes/blog/+layout.svelte
+++ b/src/routes/blog/+layout.svelte
@@ -15,6 +15,7 @@
     if (theme) {
       localStorage.setItem('mem.estrogen.zone:blog:theme', theme);
       document.documentElement.setAttribute('data-blog-theme', theme);
+      page.url.searchParams.delete('theme');
     }
   });
   onDestroy(() => {
-- 
cgit v1.2.3

