Things are looking well enough, we can go ahead now (from my side at least)
As far as I understand it hugo does not care about the case of front matter keys - goorgeous used the actual case used in the file (#+Title
stays Title
) and go-org lowercases everything (#+Title
becomes title
) - hugo shouldn’t care either way.
Apart from that goorgeous hardcodes which keyword values become arrays rather than plain strings (tags, categories, aliases). go-org does the same for now but we could move that into a keyword like HUGO_ARRIFY_KEYWORD_VALUE
(better naming ideas very very welcome :D) so the user can decide themselves here.
I’m still trying to wrap my head around goorgeous front matter parsing and will open a PR for goorgeous soon - there’s a few other things that will require discussion (e.g. I’d like go-org to receive the complete file contents, not just the main content with the front matter removed) but we can do that then and there.
This change would be hugo internal and can be done independent of go-org - but yeah, maybe we combine both.
Any further thoughts @bep @kaushalmodi?