Building Cody's Dev Blog: A Journey from Design to Deployment

June 18, 2024

What started as a simple idea — “I want a clean blog to post my dev writeups” — turned into a detailed walkthrough of static site building, templating, versioning, and deployment. This post outlines the entire process I went through to build Cody’s Dev Blog, from the first layout concept to pushing a polished site to GitHub Pages.

🖼️ Designing the Blog Layout

The journey kicked off with a visual mockup. I uploaded a JPEG of the desired layout, and from that came a Tailwind-based dark mode blog layout, built with responsiveness and simplicity in mind. Key elements included:

🛠 Integrating Markdown Support

Next, I needed to feed Markdown posts into this layout. That’s where Jekyll came in.

I learned that:

Using excerpt_separator: <!--more--> let me control where the preview stopped.

💡 Handling Missing Pieces

While the UI came together nicely, a few hiccups happened:

🧱 Structuring the Repo

To get things organized and GitHub-ready:

I learned that GitHub Pages supports Jekyll out of the box, but I had to be careful about base URLs (/codys-dev-blog vs /).

🗺️ SEO and Metadata

To make things searchable and shareable:

💬 Comments? Giscus vs Staticman

I explored two options:

Ultimately, I’m leaning toward Giscus because of its simplicity.

🏷 Tags and Filtering

I added tags: to post front matter, built a tag.html layout, and created per-tag Markdown files. This allows for simple URL-based filtering without JavaScript.

A future enhancement would be a plugin or script to auto-generate tag index pages.

🚀 Polishing the Blog

Final cleanup included:

✅ Final Thoughts

If you’re building a personal blog:

This project was more than just “set up a blog.” It was a deep dive into clean static site architecture and modern UI decisions — and I’m glad I went through it.

You can check out the blog here: https://codyliska.github.io/codys-dev-blog