mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-05 08:20:44 +00: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
|
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
|
%s
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue