summaryrefslogtreecommitdiffstats
path: root/hugolib/collections.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-06-07 16:36:48 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-06-07 19:11:03 +0200
commitf55d2f43769053b80b419a690554e747dc5dcede (patch)
treef8c5bdc95df123f2abb04d66b87af4bf9237f086 /hugolib/collections.go
parent282f1aa3db9f6420fdd360e46db1ffadd5b083a1 (diff)
tpl/fmt: Add erroridf template func
Fixes #8613
Diffstat (limited to 'hugolib/collections.go')
-rw-r--r--hugolib/collections.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/hugolib/collections.go b/hugolib/collections.go
index a794a9866..9b4f83cc6 100644
--- a/hugolib/collections.go
+++ b/hugolib/collections.go
@@ -28,7 +28,6 @@ var (
// implementations have no value on their own.
// Slice is not meant to be used externally. It's a bridge function
-// for the template functions. See collections.Slice.
func (p *pageState) Slice(items interface{}) (interface{}, error) {
return page.ToPages(items)
}