hugo/parser
AcClassic e30d711c29 parser/metadecoders: Add empty /data JSON file as empty map
When fetching JSON files from the /data folder that are empty they will
be added as empty map[string]any. This makes sure that no empty JSON
file causes the site to crash because of a failed unmarshal. This
happens because empty is not a valid JSON string. It is therefore
important to check the lenght of the data before passing it to the JSON
unmarshal function.

Fixes #8601
2022-12-14 18:03:47 +01:00
..
metadecoders parser/metadecoders: Add empty /data JSON file as empty map 2022-12-14 18:03:47 +01:00
pageparser hugo/parser: Fix shortcode boolean param parsing 2022-11-18 09:34:10 +01:00
frontmatter.go commands: Remove extraneous newline from result of convert toTOML 2022-10-04 09:28:34 +02:00
frontmatter_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
lowercase_camel_json.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00