PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
257 stars 49 forks source link

recognize '---' as meta data fence #277

Closed Schlaefer closed 8 years ago

Schlaefer commented 8 years ago

--- is used by some markup parsers as meta-data fence (e.g. Jekyll) and should be supported by Phile.

This PR replaces the existing hardcoded <!-- and /* with a configurable plugin parameter and adds ---.

Frodox commented 8 years ago

+1

james2doyle commented 8 years ago

This looks good. But should there be a test for this?

Nevermind. I didn't look close enough.