Refactor it into a post.html template.
Add Jekyll archive plugin with a bunch of fixes by me.
Update config.
Add archive_index template.
Include archive in the right sidebar on the blog page.