diff options
Diffstat (limited to 'tpl/collections/apply_test.go')
-rw-r--r-- | tpl/collections/apply_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/collections/apply_test.go b/tpl/collections/apply_test.go index 0878844b2..edec3da18 100644 --- a/tpl/collections/apply_test.go +++ b/tpl/collections/apply_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Hugo Authors. All rights reserved. +// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,6 +29,10 @@ func (templateFinder) Lookup(name string) (tpl.Template, bool) { return nil, false } +func (templateFinder) LookupVariant(name string, variants tpl.TemplateVariants) (tpl.Template, bool, bool) { + return nil, false, false +} + func (templateFinder) GetFuncs() map[string]interface{} { return map[string]interface{}{ "print": fmt.Sprint, |