Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBaibhav Vatsa <baibhavvatsa@gmail.com>2019-10-11 04:16:15 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-10-11 09:35:27 +0300
commit096a4b67b98259dabff5ebfbfd879a41999a1ed2 (patch)
treed940a0429e0983bd5c462b8841ca292b87886c2a /common
parentbc70f2bf123d94fc3226754ec9f1f44748e98162 (diff)
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
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions