mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
@@ -34,6 +34,10 @@ type templateInfo struct {
|
||||
realFilename string
|
||||
}
|
||||
|
||||
func (t templateInfo) IsZero() bool {
|
||||
return t.name == ""
|
||||
}
|
||||
|
||||
func (t templateInfo) resolveType() templateType {
|
||||
return resolveTemplateType(t.name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user