resolves #354 don't match front matter in the middle of the file
Merge pull request #346 from mojavelinux/smarter-front-matter

resolves #354 don't match front matter in the middle of the file