Skip to content

Serve books page at /books/ instead of /books.html#21

Merged
arjun7965 merged 1 commit intomasterfrom
refactor/clean-books-url
Apr 18, 2026
Merged

Serve books page at /books/ instead of /books.html#21
arjun7965 merged 1 commit intomasterfrom
refactor/clean-books-url

Conversation

@arjun7965
Copy link
Copy Markdown
Owner

Summary

  • Renames books.htmlbooks/index.html so the page is served at the cleaner URL arjunvinod.com/books/
  • Absolutizes internal asset paths (/css/, /js/, /images/) inside the moved file since it's now one directory deeper
  • Updates nav links (index.html, 404.html), canonical + og:url, sitemap.xml, package.json lint script, lighthouserc.js Lighthouse target, and docs (CLAUDE.md, README.md)

Test plan

  • npm run lint passes
  • Local server: /books/ returns 200, renders the reading list, no CSP violations (only expected Open Library 404s for missing ISBN covers)
  • /books.html returns 404 (as expected — old URL no longer served)
  • Home page nav link points to /books/
  • After merge: verify live site at https://arjunvinod.com/books/ and resubmit sitemap in Search Console so Google picks up the new URL

🤖 Generated with Claude Code

Renames books.html to books/index.html so the page is served at
the cleaner URL arjunvinod.com/books/. Internal paths inside the
file were absolutized (css/js/images) since the file is now one
directory deeper.

Updates nav links, canonical + og:url, sitemap, lint and Lighthouse
configs, and documentation to match.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@arjun7965 arjun7965 merged commit 29bdef6 into master Apr 18, 2026
1 check passed
@arjun7965 arjun7965 deleted the refactor/clean-books-url branch April 18, 2026 07:20
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