hugo/parser
Bjørn Erik Pedersen 0816a97a46
parser: Add WARNING for integer YAML keys
```bash
benchmark                                               old ns/op     new ns/op     delta
BenchmarkStringifyMapKeysStringsOnlyInterfaceMaps-4     3053          2015          -34.00%
BenchmarkStringifyMapKeysStringsOnlyStringMaps-4        5.23          5.18          -0.96%
BenchmarkStringifyMapKeysIntegers-4                     2320          5177          +123.15%

benchmark                                               old allocs     new allocs     delta
BenchmarkStringifyMapKeysStringsOnlyInterfaceMaps-4     6              6              +0.00%
BenchmarkStringifyMapKeysStringsOnlyStringMaps-4        0              0              +0.00%
BenchmarkStringifyMapKeysIntegers-4                     6              14             +133.33%

benchmark                                               old bytes     new bytes     delta
BenchmarkStringifyMapKeysStringsOnlyInterfaceMaps-4     1008          1008          +0.00%
BenchmarkStringifyMapKeysStringsOnlyStringMaps-4        0             0             +0.00%
BenchmarkStringifyMapKeysIntegers-4                     1008          1776          +76.19%
```
Closes #4393
2018-02-12 19:16:12 +01:00
..
frontmatter.go parser: Add WARNING for integer YAML keys 2018-02-12 19:16:12 +01:00
frontmatter_test.go parser: Tune stringifyMapKeys 2018-02-12 19:14:02 +01:00
long_text_test.md Merge remote-tracking branch 'origin/parser' into mrg_praser 2013-09-17 15:52:40 -07:00
page.go Support pages without front matter 2018-01-26 09:17:27 +01:00
page_test.go parser: Refactor frontmatter parser and add tests 2017-03-11 17:52:25 +01:00
parse_frontmatter_test.go parser: Final (!) fix for issue with escaped JSON front matter 2017-07-08 18:43:36 +02:00