Hello there! Long time no see.

Questions

After the big PHP2Shell thing I started thinking about this blog for the first time in several years and I came away with three main questions:

  1. Why am I still running a blog on WordPress in 2026?
  2. What other options are out there?
  3. Can I make my blog setup easier?

Answer #1

The answer to question number one was "Inertia, maybe?" and that was quickly followed up with "Why though?". I didn't have a good answer for that.

Answer #2

Question two required more work, but then I remembered watching an excelent pair of YouTube videos from Veronica Explains, (Video 1, Video 2, she's also on PeerTube) and I thought to myself, "Self, Eleventy looks like a good solution."

I'll get to question three's answer soon, but before that I needed to install and configure Eleventy. Not too hard because they have excellent docs.

After installing it, I cloned the eleventy-base-blog and then went to town customizing it until it was looking like I wanted (not too hard, I didn't want anything super-fancy after all). I had to remind myself quite a bit about CSS while I was at it, but don't worry, I'll forget it all again soon enough.

The most tedious part was next, fetching all of my WordPress posts and converting them to Markdown. Not much fun, but it's not like I have a ton of posts, and raw words aside, the biggest pain was probably getting all of the images which I used to host on Flickr (remember that?) copied over.

Answer #3

So now that I had a static website I could generate from templates and source files, and filled with my legacy blog posts, it was time to tackle question three.

By "setup" I didn't just mean the initial setup. That was a pain, but also a one-time thing. No, what I meant is that I want to make it more friction-less to write a post whenever I feel like it. I want to set things up so that I don't need to think much about writing or publishing a new blog post. The solution was multi-pronged.

First up was a Makefile. Nothing overly complicated. In fact, here's the whole thing:

ELEVENTY = npx @11ty/eleventy
SITE_DIR = _site
REMOTE = <remote_host_stuff_that_i_am_not_going_to_share>
RSYNC_FLAGS = -avz --delete --exclude='.well-known/'

.PHONY: build serve clean publish

build:
	$(ELEVENTY)

serve:
	$(ELEVENTY) --serve

clean:
	rm -rf $(SITE_DIR)

publish: build
	rsync $(RSYNC_FLAGS) $(SITE_DIR)/ $(REMOTE)

With this Makefile in place I can do a few things without having to remember the commands, first is just:

make <tab><tab>

...which gives me the various targets I have configured, and those targets are:

  1. make (by itself) will build the site from my Markdown files and the Eleventy templates, the static site is built in the _site folder
  2. make serve starts Eleventy's built-in web server and watches my files for changes so I can preview my posts as I'm writing them, super handy
  3. make clean removes the _site folder, not something I think needs to be done often, but hey, it's a standard target people have in their Makefiles, so I might as well include it here
  4. make publish is the cool one, running this will build the site and then rsync it to my web server, and because it is a static site, once the rsync of the HTML files is finished, I'm done

The best part of all this is that with this Makefile I don't need to remember any new commands. I don't need to remember npx @11ty/eleventy to build the site, I don't need to remember my preferred rsync flags, and I don't need to remember the upload path. I just need to be in the directory with my Makefile and it "just works". Makefiles are seriously awesome and I've found myself using them more and more for various projects. They're definitely not just for compiling code.

The final piece of the puzzle was making it easier to start and edit a blog post. For that I created a blog script. When running the script I'm first asked for the title of the blog post and then it uses that, and today's date, to create the directory the Markdown file goes in, and the basic Markdown file from a template. It then opens the newly created file in my preferred text editor. After I save and quit my text editor the script asks if I want to publish the post and then does it (assuming I answer 'y'). I created a similar script for journaling many years ago with LaTeX and git, and this is just an adaptation of that, so it didn't take long at all to get the script working.

Here's a diagram:

Flowchart showing how the blog script creates a dated Markdown file, opens a text editor, and optionally runs make
    publish

Conclusion

So now I have a blog setup that makes it stupidly easy for me to quickly write and publish a blog post from any nearby terminal whenever the inspiration strikes. The site is static and can be hosted on a potato. The only "new" command I need to remember is blog. Win win win all around.

At this point, I don't know if this will help me blog more or not (I only set all of this up today, after all), but it certainly doesn't hurt.