Generate slugs for posts.

  This closes #9.