From 8a49c0b3b8b5a374a64b639f46806192cd663fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 30 Apr 2017 21:52:56 +0200 Subject: tpl/collections: Make it a package that stands on its own See #3042 --- hugolib/shortcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hugolib/shortcode.go') diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go index d72a96faa..01beffe2b 100644 --- a/hugolib/shortcode.go +++ b/hugolib/shortcode.go @@ -565,7 +565,7 @@ func replaceShortcodeTokens(source []byte, prefix string, replacements map[strin return source, nil } -func getShortcodeTemplate(name string, t tpl.TemplateHandler) *tpl.TemplateAdapter { +func getShortcodeTemplate(name string, t tpl.TemplateFinder) *tpl.TemplateAdapter { isInnerShortcodeCache.RLock() defer isInnerShortcodeCache.RUnlock() -- cgit v1.2.3