diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-07-28 10:31:12 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-07-28 10:31:37 +0200 |
commit | 36b51260500a0f83f0586be5f80fd091cf7c070e (patch) | |
tree | 946dd8aa96066cd82e74a48132883bb92cbb6338 /resources | |
parent | 2589b1295cce53f7bb83cfe2074b0b272eb57217 (diff) | |
download | hugo-36b51260500a0f83f0586be5f80fd091cf7c070e.tar.gz hugo-36b51260500a0f83f0586be5f80fd091cf7c070e.zip |
Remove unused autogenerated method
Diffstat (limited to 'resources')
-rw-r--r-- | resources/page/page_generate/generate_page_wrappers.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/resources/page/page_generate/generate_page_wrappers.go b/resources/page/page_generate/generate_page_wrappers.go index c034bc002..abbf02bf1 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 |