Refactor the code. Add support for non-Jekyll files.

Before trying to parse a Jekyll post, check if it matches the Jekyll post format. In case it doesn't, treat it as a simple page written using Markdown.