Markdown has no front matter

I have no control over the creation of some of the markdown I am using. The files have no front matter header; none of this:

---
---
The files do NOT have have the above front matter header.

I can specify the front matter to use with defaults) in the _config.yml, but that only works when the files have the header with two lines of ---. When the files do not have the front matter, they are copied as md instead of transformed into html.

When I edit a file and insert the blank front matter header, the defaults settings are applied and the files is converted to html.

Is there a way I can tell Jekyll to process the files when the do not have the front matter header?

OK. A little more searching and I found the solution. Jekyll Optional Front Matter plugin

1 Like