summaryrefslogtreecommitdiffstats
path: root/hugolib/menu_test.go
diff options
context:
space:
mode:
authorNiklas Fasching <niklas.fasching@gmail.com>2019-06-04 12:21:48 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-06-08 10:13:00 +0200
commitfad183c4ae55069be9246e64ab1c8b2f43d08d06 (patch)
tree88763721961931d9573d8979f00e1ff4ce77fe83 /hugolib/menu_test.go
parentb6867bf8068fcaaddf1cb7478f4d52a9c1be1411 (diff)
Refactor Org mode front matter: Introduce '#+KEY[]:' array notation
Hugo requires some front matter values to be arrays (e.g. for taxonomies). Org mode front matter syntax (`#+KEY: VALUE`) does however not support anything but string values normally - which is why goorgeous hardcoded the values for the keys tags, categories & aliases to be parsed as string arrays. This causes problems with custom taxonomies. A simple thing we can do instead is make keywords ending in '[]' be parsed as string arrays.
Diffstat (limited to 'hugolib/menu_test.go')
0 files changed, 0 insertions, 0 deletions