Skip to content

feat: dark mode, faster pages, and reading niceties - #11

Merged
vlandham merged 2 commits into
mainfrom
site-refresh
Oct 31, 2026
Merged

vlandham merged 2 commits into
mainfrom
site-refresh

Conversation

@vlandham

Copy link
Copy Markdown
Owner

Performance

  • Load D3 only on pages that set d3: true (was render-blocking on every page)
  • Rewrite main.js in vanilla JS; lazy-load and async-decode content images
  • Self-host IBM Plex Sans (variable woff2) instead of Google Fonts
  • Remove Disqus comments; vendor medium-zoom instead of unpkg

Fixes

  • Feed link points at /atom.xml instead of FeedBurner
  • Add custom 404 page, canonical/description meta, rel=me links
  • De-duplicate Twitter/Open Graph meta tags

Features

  • Dark mode via CSS light-dark() with auto/light/dark toggle;
    light_only: true keeps vis-heavy posts light
  • Syntax theme generated from Rouge's GitHub light/dark themes
  • Reading time, older/newer post links, copy buttons on code blocks
  • Optional Cloudflare Web Analytics via cloudflare_analytics_token

🤖 Generated with Claude Code

vlandham and others added 2 commits October 31, 2026 07:31
Performance
- Load D3 only on pages that set `d3: true` (was render-blocking on every page)
- Rewrite main.js in vanilla JS; lazy-load and async-decode content images
- Self-host IBM Plex Sans (variable woff2) instead of Google Fonts
- Remove Disqus comments; vendor medium-zoom instead of unpkg

Fixes
- Feed link points at /atom.xml instead of FeedBurner
- Add custom 404 page, canonical/description meta, rel=me links
- De-duplicate Twitter/Open Graph meta tags

Features
- Dark mode via CSS light-dark() with auto/light/dark toggle;
  `light_only: true` keeps vis-heavy posts light
- Syntax theme generated from Rouge's GitHub light/dark themes
- Reading time, older/newer post links, copy buttons on code blocks
- Optional Cloudflare Web Analytics via `cloudflare_analytics_token`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Replace dead gist-it.appspot.com embeds in the stepper post with code
  blocks from vlandham/stepper_example, each linking to its source
- Fix an inline snippet that rendered a real unclosed <div> instead of code
- Remove Twitter from the footer, About page, and twitter:site/creator meta

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vlandham
vlandham merged commit ca97a22 into main Oct 31, 2026
2 checks passed
@vlandham
vlandham deleted the site-refresh branch October 31, 2026 14:42
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.

1 participant