mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
resources: Remove unused interface
This commit is contained in:
@@ -535,12 +535,6 @@ func (p *pageState) renderResources() error {
|
||||
continue
|
||||
}
|
||||
|
||||
if _, isWrapper := r.(resource.ResourceWrapper); isWrapper {
|
||||
// Skip resources that are wrapped.
|
||||
// These gets published on its own.
|
||||
continue
|
||||
}
|
||||
|
||||
src, ok := r.(resource.Source)
|
||||
if !ok {
|
||||
return fmt.Errorf("resource %T does not support resource.Source", r)
|
||||
|
Reference in New Issue
Block a user