diff options
Diffstat (limited to 'tpl/tplimpl/shortcodes.go')
-rw-r--r-- | tpl/tplimpl/shortcodes.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tplimpl/shortcodes.go b/tpl/tplimpl/shortcodes.go index 40fdeea5d..92c25f108 100644 --- a/tpl/tplimpl/shortcodes.go +++ b/tpl/tplimpl/shortcodes.go @@ -152,9 +152,9 @@ func resolveTemplateType(name string) templateType { } func isShortcode(name string) bool { - return strings.Contains(name, "shortcodes/") + return strings.Contains(name, shortcodesPathPrefix) } func isInternal(name string) bool { - return strings.HasPrefix(name, "_internal/") + return strings.HasPrefix(name, internalPathPrefix) } |