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
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
data tpl: Make getJSON/getCVS accept non-string args 2019-10-10 13:30:39 +02:00
encoding
fmt
hugo
images Allow slices in the image Filter funcs, not just varargs 2019-09-04 17:24:50 +02:00
inflect
internal
lang
math
os
partials
path
reflect
resources
safe
site
strings
templates
time
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
template_info.go
template_test.go