DEV Community

Cover image for Converting BlogCFC blog to Eleventy
Akbarsait
Akbarsait

Posted on

Converting BlogCFC blog to Eleventy

Originally posted at akbarsait.com

This post outlines the steps for migrating an existing BlogCFC blog to a JamStack, with a focus on using Eleventy.

Blog Posts Conversion to MD Files: First, convert the existing blog posts to Markdown files. Since all the BlogCFC posts are data-driven, this simplifies the process of converting them to MD files. Adrian Moreno has created a three-step script to make this even easier. Simply use the ColdFusion scripts and customize them as needed

Comments Handling: Next, I needed to migrate the comments from the blog. Initially, I used the built-in comments functionality that saved comments to the BlogCFC database. Later, I migrated to Disqus. Despite the low comment count, I followed these steps to manage them.

coldfusion-builder-extension-appcore-creator.md
coldfusion-builder-extension-appcore-creator.json
Enter fullscreen mode Exit fullscreen mode

Redirect and Netlify: If you’re hosting your blog on Netlify and intend to set up redirects for changes to your page URLs, create a new front-matter entry using the following script. This step is necessary only if you plan to alter the URL pattern from your previous blog to the new one.

The transition from BlogCFC to Eleventy was smoother than anticipated, and I successfully deployed the website on Netlify.
Thanks to Adrian Moreno, Raymond Camden and Zach Leatherman. If you have any questions, feel free to leave a comment!

Related Post:

Title Photo by Akbar Noormohamed on Unsplash

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay