hugo/tpl
Baibhav Vatsa 096a4b67b9 tpl: After now accepts 0 as index
Modified the if conditional because of which after threw an error if called with 0 as index. The function now returns the whole original slice if 0 is passed as an index. Also added tests to test the new behavior.

Fixes #6388
2019-10-11 08:35:27 +02:00
..
cast tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
collections tpl: After now accepts 0 as index 2019-10-11 08:35:27 +02:00
compare tpl: Remove eq argument limitation 2019-09-05 14:38:47 +02:00
crypto tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
data tpl: Make getJSON/getCVS accept non-string args 2019-10-10 13:30:39 +02:00
encoding tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
fmt tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
hugo tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
images Allow slices in the image Filter funcs, not just varargs 2019-09-04 17:24:50 +02:00
inflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
internal tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
lang tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
math tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
os tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
partials tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
path tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
reflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
resources Image resource refactor 2019-08-26 15:00:44 +02:00
safe tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
site tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
strings tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
templates tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
time tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
tplimpl Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
transform deps: Upgrade to latest version of emoji dependency 2019-10-05 22:58:53 +02:00
urls Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
template.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
template_info.go tpl: Allow the partial template func to return any type 2019-04-02 10:30:24 +02:00
template_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00