Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow collections YAML to end with dots #3134
Posts can have YAML front matter that ends with three dots instead of dashes since 52ac2b3 but that only applies to posts. This PR adds the ability for the YAML front matter of collections files to end with dots as well.
I don't have very much experience in writing ruby code and tests, but I managed to write one. It probably can be improved but I just don't have enough experience to know how to do that yet.
Hm. As much as I want to abide by the YAML spec, I want to make it such that each outcome has only one method to achieve it. So saying "either dots or dashes" does not help new users learn Jekyll... it just complicates things.
I agree we should have parity but I guess I'd rather we use dashes everywhere.
referenced this pull request
Nov 22, 2014
Yeah I changed my mind. I don't care about supporting dots. May as well do it. /cc @lmullen sorry for the headaches guys, I'm just frustrated by the potential to make Jekyll more complex. Complexity is usually increased when adding flexibility. More state to keep in the brain when you're writing a website.