A few fixes improvements:

  * Pandoc now parses YAML fontmatter. We don't need to.
  * Fix weirdness with redirecting STDOUT.
  * Generate table of contents as one <ul>, so it can be used with List.js.