diff --git a/resources/page/page_generate/generate_page_wrappers.go b/resources/page/page_generate/generate_page_wrappers.go index c034bc00269..abbf02bf1d2 100644 --- a/resources/page/page_generate/generate_page_wrappers.go +++ b/resources/page/page_generate/generate_page_wrappers.go @@ -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