diff options
author | Nikolaos S. Papaspyrou <nickie@softlab.ntua.gr> | 2016-10-31 10:36:41 +0200 |
---|---|---|
committer | Nikolaos S. Papaspyrou <nickie@softlab.ntua.gr> | 2016-10-31 10:36:41 +0200 |
commit | 6fbffc586cd951180c5a4ed328bd43a1f3920a85 (patch) | |
tree | 4d8f54404faaa867866b116c4c596ad757bd01f3 /hakyll.cabal | |
parent | ab34240bb53565ce7179432cd75fd67adddb4e7c (diff) | |
download | hakyll-6fbffc586cd951180c5a4ed328bd43a1f3920a85.tar.gz |
Fix integer fields in YAML metadata
If a numeric field contains an integer number, it should be shown
as an integer number. Without this patch, the field:
answer = 42
would be shown as "42.0". Before the introduction of YAML in
metadata, this was treated as a string and therefore shown as
just "42". This patch reinstates the older (and IMHO correct)
behavior.
Diffstat (limited to 'hakyll.cabal')
0 files changed, 0 insertions, 0 deletions