Again, thanks a lot for your fantastic work, especially on the recent bundle.
I’m not sure but 0.35 (thru brew) seems to break something (0.34 works just fine)
$ hugo server Building sites … ERROR 2018/02/01 10:10:49 error processing shortcode "shortcodes/derniers_changements.html" for page "changedoc/_index.md": template: shortcodes/derniers_changements.html:15:31: executing "shortcodes/derniers_changements.html" at <sort .Site.Taxonomie...>: error calling sort: can't evaluate a nil pointer of type *gitmap.GitInfo by a struct field or map key name AuthorDate
the guilty line in my shortcode is : {{ range first $nombre_md (sort .Site.Taxonomies.categories.documentation ".GitInfo.AuthorDate" "desc") }}
I didn’t see anything obvious as a pb.
I reverted (brew) to 0.34 and previous and it compiles fine again.
0.34 process 122 pages.
0.35 process 121 pages (the one with pb).
Any idea if I have some deeper problem or how to diagnose the guilty .md file ??
Wow that’s quick !! thanks @bep. I’ll try your tip.
On a related (?) note, there is some change also with the .json files on 0.35.
WARN 2018/02/01 10:48:56 Failed to read data from gitLab-127-issues-1.json/gitLab-127-issues-1.json: json: cannot unmarshal array into Go value of type map[string]interface {}
FWIW, I don’t see that issue, and I enable GitInfo in config.toml. Can you share the site source so that the issue can be reproduced by someone, and the root cause can be found?
It was a bug fix in Hugo 0.35 that cleaned up a slightly odd mixing of params and config settings per language, creating the hard-to-debug “theme in params” issue.
So, I guess the above worked in Hugo 0.35, but these settings does not belong in the params section.