I’ve just updated Octopress to the latest and greatest version, including re-applying my various customizations. So, now that I happen to have them all in one place, here are three quick ways I’ve improved the base Octopress install:
If you’re hosting your Octopress blog on GitHub Pages, it’s kind of pointless to have that repository show up in the sidebar, especially since it doesn’t contain anything particularly interesting.
But you can also use this tweak to hide that secret project you’re working on… or that old, embarrassing one that never did work quite right.
Limit Pinboard sidebar to a specific tag
I bookmark a lot of things on Pinboard, most of which aren’t exactly technical in nature. Here’s a quick change that lets you save bookmarks with a specific tag (I use “blog”) to show them on the sidebar.
And since we’re here anyway, may as well also change the header and loading text (I don’t know why, but I’ve never liked the word “linkroll”). I also removed the tags to make it less cluttered.
If you want to do this for Delicious, it’s even easier.
Move the Archive page to /archive
Even if you have Octopress set to use the root directory, it defaults to putting your post archive under /blog/archive. I found the fix in this post:
Move source/blog/archive/index.html to source/archive/index.html.
Update navigation links accordingly, in source/_includes/custom/navigation.html and source/index.html. (Note: the example given is inconsistent; whether you’re using “archive” or “archives”, just ensure all the links match the directory name!)
I was originally planning to wrap this post up with a mention of prettifying code snippets, but that turned out to be a bit of a project, so I think it deserves its own post.