summaryrefslogtreecommitdiffstats
path: root/tpl/collections
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-07-03 18:02:32 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-07-03 23:31:51 +0200
commit42e150fbfac736bd49bc7e50cb8cdf9f81386f59 (patch)
treef29afdf089823d6c6d4513ae67934357b88f2a05 /tpl/collections
parent028b356787426dbc190ce9868fbc9a6400c2996e (diff)
Fix server reload when non-HTML shortcode changes
Fixes #7448
Diffstat (limited to 'tpl/collections')
-rw-r--r--tpl/collections/apply_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tpl/collections/apply_test.go b/tpl/collections/apply_test.go
index 0d06f52e8..f9199b6b6 100644
--- a/tpl/collections/apply_test.go
+++ b/tpl/collections/apply_test.go
@@ -40,6 +40,10 @@ func (templateFinder) LookupVariant(name string, variants tpl.TemplateVariants)
return nil, false, false
}
+func (templateFinder) LookupVariants(name string) []tpl.Template {
+ return nil
+}
+
func (templateFinder) LookupLayout(d output.LayoutDescriptor, f output.Format) (tpl.Template, bool, error) {
return nil, false, nil
}