Migrating Site Page to Incrementing Integers
November 2026
Introduction
I spent a bunch of time over the past week updating the way I do IDs for blog posts on the site and automating file creation for making a new entry.
After messing with it for a bit, I've decided to go a different route.
ID History
For years, I used my Grimoire to manage content on my site. The setup looked like this:
-
Each page of the Grimoire got its own file.
-
All the files were stored in a single folder.
-
Each file included an id (e.g. 3a/ut/av/na).
-
All the pages for the Grimoire were stored in text files. One file per page.
-
All the files
The strucutre of the Grimoire was as simple as could be: A single directory with one file per page.
Files
TODO: Write up the process of moving files to the new locations and link up the script.