m. c. de marco: To invent new life and new civilizations...

Archiving the Noughties

I mentioned in my link checking post that my blog was old and full of rotting link blog. I failed to mention that it was also virtually unnavigable; when I set up the blog, either I didn’t know about the undocumented jekyll page.previous and page.next variables for posts, or I didn’t think blog post navigation was necessary. So now you can navigate from post to post in chronological order using the links at the bottom of each page. (I would say each post but the blog index is an exception. The code for the exception is, as usual, buried somewhere in my fork of Left.)

Besides being unnavigable between posts, the blog archives were also long and disheartening, without even tags to explain the raw post titles. First, I put the tags into the post listings—though I didn’t bother with the extra code that would have been required to alphabetize them. Next, I sorted my posts into a few categories—initially just to separate out the linkblog posts, but later I made a more useful archive listing using the categories, and moved the long linkblog section of the archive to its own page. (I also tossed in an archive by date thanks to SO that goes all the way back to the linkbloggy noughties.)

My new non-linkblog categories are long posts, short posts, news about the fiction I’ve had published, updates about the free software I’ve worked on, and “blogkeeping” posts like this one about running jekyll and my previous blogging platforms. (The blogkeeping category was depressingly large.)

Since at first I only intended to use my “categories” to distinguish linkblog posts from “real” posts (and I’m still only using them on the archives page), I made a custom variable for them instead of using jekyll’s built-in notion of categories. But I may switch to the latter someday, if I feel up to overriding the native jekyll categories to do what I want instead. Or I may switch it to use tags.

But one jekyll feature I never intend to enable is pagination; n posts on a page feels too much like resurrecting Drupal and all its database-backed ways. For a static blog without even any JavaScript (I removed my last social media button, Follow me on App.net, to make room for page navigation), navigating from page to page should be fast enough for the few people who actually want to do it. I would like to add intermediate date archives like this to spruce up those Drupal-like paths (e.g., /blog/2015/02/) that now return the extraordinarily ugly Apache index page.

Update

I reimplemented the categories as tags: longpost, shortpost, sharedware for my software, news about my fiction, and blogkeeping.