Skip to content
Content for my personal blog
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
published
LICENSE
Rakefile
Readme.markdown

Readme.markdown

Blog

This is the content for my blog. The source code for the site is also on GitHub.

The idea of structuring posts in their own repo is a great idea by Sam Soffes. His blog system and design inspired me to do the same - it's pretty great.

If you're looking for my website, the source is over here.

Please do not use or distribute my posts without permission.

The following information is found in Sam Soffes' original Github repo.

Nerd Things

Posts are structured with the following format:

published/YYYY-MM-DD-PERMALINK/PERMALINK.markdown

The markdown file may contain front matter. The first <h1>'s text will be treated as the title of the post unless it is specified in front matter. If both are missing, the permalink is used.

Images are included in the post's folder. All image URLs are specified relative to the markdown file.

A cover image may be present. It is specified as cover_image in the front matter.

Tags may also be present. The are specified as a YAML list in the front matter.

Creating a New Post

Run the following command:

$ rake new 'My Great Post'

This will ensure the slug for the post isn’t already taken, create the directory with the proper date, create a markdown file in the directory, and open the markdown file in the desired editor. Time saver.

Editing the Most Recent Post

It’s fairly common that I have a typo in a post. To quickly edit the most recent post, run the following command:

$ rake recent

Easy as that.

You can’t perform that action at this time.