pimentel.page

Fixed Gatsby Update

October 14, 2023

Cat sleeping under blanket

Photo Credit: Kate Stone Matheson

As noted in my last post, after upgrading the site from Gatsby 4 to Gatsby 5 the blog link broke, post where not showing up, and some weird errors were showing in the browser console.

It has not been until now that I have had time to review this, and to my surprise, the site worked fine without doing anything. Maybe it was something related to my browser cache at that time.

Nevertheless, some React 425 errors were still showing up in the console. After some investigation, it seemed that rendering the page title inside the title element of the blog layout was not behaving the same way for the home page and the rest of the pages of the blog. This is the fix.

Since I had allocated time to fix that issue, I have also fixed some other cosmetic problems and updated the dependencies. Let's see if I start updating this with higher frequency!

Tags: bloggatsby
Previous: Gatsby UpdatedNext: Python Azure SDK and OpenTelemetry