Connecting with Contentful
Now this blog is managed through Contentful.
Not super difficult, just needed to switch to downloading the content json and importing when I needed instead of using the Markdown examples from my original build. I like it alot better since I don't have content polluting my repo now and this site is properly decoupled now.
Had a bunch of weirdness from running babel-node which came from one of tutorials I was following having values for .babelrc that didn't work for me. Getting rid of preset-env line ended up doing the trick.
I was also foolishly trying to parse out the Contentful body rich text when I figured they would have something written for that: @contentful/rich-text-html-renderer. Luckily I didn't waste too much time until I realized that.
My example is simpler than alot of the examples I've seen out there for tying Netlify, Next.JS and Contentful. I don't support other assets so it will probably get there in the end.