diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-07-03 19:02:32 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-07-04 00:31:51 +0300 |
commit | 42e150fbfac736bd49bc7e50cb8cdf9f81386f59 (patch) | |
tree | f29afdf089823d6c6d4513ae67934357b88f2a05 /tpl/template.go | |
parent | 028b356787426dbc190ce9868fbc9a6400c2996e (diff) |
Fix server reload when non-HTML shortcode changes
Fixes #7448
Diffstat (limited to 'tpl/template.go')
-rw-r--r-- | tpl/template.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/template.go b/tpl/template.go index 315004b6a..82d877545 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -68,6 +68,7 @@ type TemplateLookupVariant interface { // We are currently only interested in output formats, so we should improve // this for speed. LookupVariant(name string, variants TemplateVariants) (Template, bool, bool) + LookupVariants(name string) []Template } // Template is the common interface between text/template and html/template. |