hugo/common
Gareth Watts 3400aff258 Allow cascade _target to work with non toml fm
The TOML lib unmarshals slices of string maps to []map[string]interface{}
whereas YAML and JSON decode to []interface{}

The existing tests only check for TOML working correctly, and _target
with cascade did not work at all for frontmatter defined in other formats.

Add a function to normalize those slices

Fixes #7874
2020-10-22 23:00:19 +02:00
..
collections Fix order of GetTerms 2020-06-15 22:23:02 +02:00
constants Allow getJSON errors to be ignored 2020-10-22 09:09:29 +02:00
herrors Revert "Revert "common/herrors: Fix typos in comments"" 2020-04-06 01:07:57 +02:00
hreflect langs/i18n: Upgrade to go-i18n v2 2020-09-29 17:48:07 +02:00
hugio modules/npm: Preserve the original package.json if it exists 2020-09-15 01:04:31 +02:00
hugo releaser: Prepare repository for 0.77.0-DEV 2020-10-12 08:45:25 +00:00
loggers Allow getJSON errors to be ignored 2020-10-22 09:09:29 +02:00
maps Allow cascade _target to work with non toml fm 2020-10-22 23:00:19 +02:00
math tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
para Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
terminal Fix ANSI character output regression on Windows 2018-11-02 09:09:02 +01:00
text markup/goldmark: Make auto IDs GitHub compatible 2020-01-04 19:46:01 +01:00
types Add openapi3.Unmarshal 2020-07-06 20:03:36 +02:00
urls Add file (line/col) info to ref/relref errors 2018-11-01 21:06:35 +01:00