Skip to content

Wire up custom-head include so GitHub icon + Dracula toggle load#22

Merged
binbashburns merged 1 commit into
mainfrom
claude/add-github-icon-dark-mode-g7FC8
May 9, 2026
Merged

Wire up custom-head include so GitHub icon + Dracula toggle load#22
binbashburns merged 1 commit into
mainfrom
claude/add-github-icon-dark-mode-g7FC8

Conversation

@binbashburns
Copy link
Copy Markdown
Owner

Summary

  • Override minima 2.5.1's _includes/head.html to add {%- include custom-head.html -%} (the hook didn't exist in that version, which is why the previous merge had no visible effect).
  • The earlier theme.css, theme.js, and custom-head.html from Add GitHub icon and Dracula dark mode toggle #21 are now actually loaded, so the fixed top-right GitHub icon and Dracula sun/moon toggle render on every page.

Test plan

  • Wait for "Build & Publish Website" to finish on the merge commit.
  • Hard-refresh https://binbashburns.com (Cmd/Ctrl+Shift+R).
  • Confirm circular GitHub icon and ☾/☀ toggle appear top-right on / and /badges/.
  • Click toggle: page flips to Dracula palette (#282a36 bg, #bd93f9 links, #ff79c6 hover); icon swaps to ☀.
  • Reload: theme persists via localStorage['bbb-theme'].

https://claude.ai/code/session_01KbChsJEaBou8JpfCNyJJZf


Generated by Claude Code

minima 2.5.1's bundled head.html does not include custom-head.html (that
hook landed in later versions), so the previous commit's CSS/JS were
never loaded. Copy minima 2.5.1's head verbatim and append the
custom-head include so the topbar and Dracula styles actually ship.

https://claude.ai/code/session_01KbChsJEaBou8JpfCNyJJZf
@binbashburns binbashburns merged commit 7118340 into main May 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants