This is the content for my blog. The source code for the site is also on GitHub.
If you're looking for my website, the source is over here.
Please do not use or distribute my posts without permission.
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.
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.
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.