tpl: Make getJSON/getCVS accept non-string args
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 10 Oct 2019 08:18:30 +0000 (10:18 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 10 Oct 2019 11:30:39 +0000 (13:30 +0200)
commit0d7b05be4cb2391cbd280f6109c01ec2d3d7e0c6
tree47fb0303d7d43bc3d19e7e9736433b3715696b17
parent71b18a0786894893eafa01263a0915149ed303ec
tpl: Make getJSON/getCVS accept non-string args

This broke for the Twitter simple shortcode now that Shortcodes accepts typed arguments.

Fixes #6382
hugolib/embedded_shortcodes_test.go
hugolib/testhelpers_test.go
tpl/data/data.go
tpl/data/data_test.go