..

New Blog, Who This

Oh, hi.

I had a bit of a problem over Christmas where my MacBook failed catatrophically while MAMP Pro, the app I use to build my Wordpress sites locally, was exporting pages. I recovered everything, but because the blog archive is so big, and I had to double-check the whole thing, it took forever. So to prevent losing a whole day of my life to this issue again, I’m gonna archive “Obsession Du Jour”, and start anew, and also I’m going to work with something that doesn’t have as many dependencies as WordPress. So I’m giving Hugo a spin using the No-style-please theme. So far, it’s going reasonably well and the site is super-fast especially with this new template. Having said that, I know very little about Hugo and some things may be a little wonky for a while.

You can find all the old posts here: Obsession Du Jour. The new blog will be called Obsession Du Jour 2. For the time being, all the webcomics will continue to be developed in Wordpress with static exports, but eventually, I’m sure I’ll learn to do them in Hugo, too.

A couple of notes, because I forget things. I installed Hugo through Homebrew and used the theme nostylesplease, chosen for its speed and minimalism, and its visual resemblence to a screen in IAwriter, my favorite text editor. I’ve been modifying the theme quite a bit already, with a top menu added to posts, and tags and categories included in every post at write time. However, I don’t yet know how to make them show up correctly. (At the time of writing, categories and tags show up as just words, without the links. The method described in this tutorial doesn’t work for me. What did work was a bit of help from Cariad Eccleston who showed me this bit of code that works for both tags and categories with minor changes. The Next and Previous links were added with the help of this tutorial, which confusingly claims that the parameters do the opposite of what you’d expect. Actually, they do what you expect, if you’re a blogger building a chronological archive and ’next’ should go to the page that is more recent than the one you’re on. I added a shortcode for YouTube playlists based on this Stack Overflow question and anwer, and one for Soundcloud playlists based on a post by Mr. Cupp. However, while the Soundcloud playlist shortcode works, I cannot figure out how to get a numerical playlist ID off Soundcloud, so I’m unable to use it.

The existing “Now”, “Big Link List”, “About” and “Uses” pages were converted from HTML to Markdown using an online converter I am not currently deploying pages through a repository and was initially resistent to doing so when secure ftp works just as well and is something I already use. However, this means that the actual live server only lives on one machine, which is a fragile solution.

At the development stage, I’m doing most of my work in emacs in Markdown mode; however, my aim is to write individual posts in IA Writer.

As of January 7, Hugo is working a little less well than before because it’s not finding anything in /[path]/content/posts, so all blog posts have been temporarily moved to /[path]/content. This should not be considered a resolution to a problem that occurred suddenly with unknown cause.


Previous || Next

Categories

metablogging

Tags

#hugo