Join GitHub today
Consider YAML vs datadir vs config vs non-string keys #4393
added a commit
Feb 9, 2018
@vassudanagunta #4379 looks like a bigger issue, and I don't have time to consider that (at least not now). Remember: I did not implement the front matter handling nor the data handling, and I don't think it's fair to ask me to dig myself into a "rabbit hole" (your words) dug by others.
But I will try to fix this particular issue. And my thoughts are this:
So, here is how I suggest we do this:
I suspect this will fix plenty more than it breaks. If anyone knows of any dramatic downside to the above, speak out.
I thought it was fair to ask you given that you are the current steward of Hugo's vision and evolution toward 1.0.
And above, you did just that! You definitively answered one of the two main issues I raised #4379 with a clear vision. So thanks!
I will update the tests as well as #4379 so that when you and the other Hugo maintainers have time, you can take a look at the remaining issue (overlapping data). All that is needed is a decision, including the decision to punt, in which case just merge #4379 as-is as it codifies in tests Hugo's current behavior, guarding against unintentional changes as well as clarifying it for anyone who decides something should change.