mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -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.
|
||||
|
Reference in New Issue
Block a user