Skip to content

Cache-bust CSS/JS assets and add intrinsic SVG dimensions on hero - #8

Merged
osanseviero merged 1 commit into
mainfrom
fix-css-cache-bust-and-svg-sizing
Oct 16, 2026
Merged

osanseviero merged 1 commit into
mainfrom
fix-css-cache-bust-and-svg-sizing

Conversation

@ammaarreshi

Copy link
Copy Markdown
Collaborator

Summary

  • Cache-bust stylesheet & script URLs (zensical.toml, scripts/lint_docs.py): Append ?v=2 to extra_css and extra_javascript entries so returning browsers with cached stylesheets from before PR Polish gemma.ai hero, search, navigation, and callout design #7 don't serve stale home.css/nav.css against the updated HTML.
  • Intrinsic SVG dimensions (overrides/home.html): Add explicit width/height HTML attributes (15x15 and 16x16) on the hero search and button <svg> icons so they never expand to full viewport width if CSS is still loading or cached.

@osanseviero
osanseviero merged commit 26a7716 into main Oct 16, 2026
4 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