Skip to content

Ssg blog page loading#124

Merged
AccessiT3ch merged 4 commits intomainfrom
ssg-blog-page-loading
Sep 11, 2025
Merged

Ssg blog page loading#124
AccessiT3ch merged 4 commits intomainfrom
ssg-blog-page-loading

Conversation

@AccessiT3ch
Copy link
Copy Markdown
Contributor

This pull request updates static HTML files to fix blog post links and update the main JavaScript bundle reference across the site. The most significant change is correcting the URLs for individual blog posts so they now point to valid, descriptive paths instead of undefined.

Blog functionality and content:

  • Fixed blog post links in both the <noscript> and main React root of blog.html to use correct, human-readable URLs (e.g., /blog/The-Four-Principles-of-Accessibility-POUR) instead of /blog/undefined, ensuring users can navigate to individual posts as expected.

These changes improve site navigation and ensure the site uses the most recent frontend code.

Adds the id property explicitly when updating a blog entry in the state to ensure consistency and prevent missing id values.
Enhanced URL normalization by replacing 'https://' with '/' in blog entry links. Added validation in genEntry to throw an error if the blog ID is invalid, improving error handling and robustness.
@AccessiT3ch AccessiT3ch merged commit 8ed0c39 into main Sep 11, 2025
4 checks passed
@AccessiT3ch AccessiT3ch deleted the ssg-blog-page-loading branch September 11, 2025 02:27
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