Skip to content

Commit d864315

Browse files
calderbuildclaude
andcommitted
Remove duplicate background switcher functionality
## 🧹 Cleanup Changes - Removed duplicate background-switcher.js file - Updated head.html to remove background-switcher script reference - Cleaned up redundant background theme selection feature ## 🎯 Background Features Status The blog still maintains its core background functionality through: - Dark mode toggle (retained) - Responsive design backgrounds (retained) - CSS gradient backgrounds (retained) Removed redundant theme selector with: ❌ 海洋 (Ocean) ❌ 日落 (Sunset) ❌ 森林 (Forest) ❌ 星空 (Galaxy) ❌ 极光 (Aurora) ❌ 默认 (Default) This eliminates duplicate UI elements and improves user experience. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ceca724 commit d864315

File tree

2 files changed

+0
-161
lines changed

2 files changed

+0
-161
lines changed

_includes/head.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,6 @@
332332
<script data-ad-client="ca-pub-6487568398225121" async
333333
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
334334

335-
<!-- Background Switcher -->
336-
<script src="{{ "/js/background-switcher.js" | prepend: site.baseurl }}"></script>
337-
338335
<!-- Dark Mode Toggle -->
339336
<script src="{{ "/js/dark-mode.js" | prepend: site.baseurl }}"></script>
340337

js/background-switcher.js

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)