mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Remove unused autogenerated method
This commit is contained in:
parent
2589b1295c
commit
36b5126050
1 changed files with 0 additions and 4 deletions
|
@ -255,10 +255,6 @@ func (zeroFile) IsZero() bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func (z zeroFile) Classifier() files.ContentClass {
|
||||
z.log.Warnln(".File.Classifier on zero object. Wrap it in if or with: {{ with .File }}{{ .Classifier }}{{ end }}")
|
||||
return files.ContentClassZero
|
||||
}
|
||||
|
||||
%s
|
||||
|
||||
|
|
Loading…
Reference in a new issue