Add a newScratch template func
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 6 Jul 2018 12:12:10 +0000 (14:12 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 6 Jul 2018 15:51:38 +0000 (17:51 +0200)
commit2b8d907ab731627f4e2a30442cd729064516c8bb
tree2f9235dfbcf116c463b75d59c8be1be53d55b05a
parent43338c3a99769eb7d0df0c12559b8b3d42b67dba
Add a newScratch template func

Fixes #4685
16 files changed:
common/maps/scratch.go [new file with mode: 0644]
common/maps/scratch_test.go [new file with mode: 0644]
common/math/math.go [new file with mode: 0644]
common/math/math_test.go [new file with mode: 0644]
docs/content/en/functions/scratch.md
hugolib/page.go
hugolib/page_test.go
hugolib/scratch.go [deleted file]
hugolib/scratch_test.go [deleted file]
hugolib/shortcode.go
hugolib/site.go
tpl/collections/collections.go
tpl/collections/init.go
tpl/math/math.go
tpl/math/math_test.go
tpl/tplimpl/template_funcs_test.go