prose/prose — pull request #269 by benbalter (2012-12-08 21:01:58+00:00)
Title: Detect YAML front matter on any file, regardless of type

This allows proper metadata detection of YAML front matter on jekyll pages, as well as non-markdown files such as having YAML front matter on an HTML template.

Adds function _hasMetadata to utils, and uses the same YAML frontmater regex to detect'