aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__per_output.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-03-09 10:26:44 +0100
committerBjørn Erik Pedersen <[email protected]>2021-03-09 13:26:39 +0100
commit18074d0c2375cc4bf4d7933dd4206cb878a23d1c (patch)
treea244eb41d5d0888494b0003e807a1884f17f4ac8 /hugolib/page__per_output.go
parent35bfb662229226d5f3cc3077ca74323f0aa88b7d (diff)
downloadhugo-18074d0c2375cc4bf4d7933dd4206cb878a23d1c.tar.gz
hugo-18074d0c2375cc4bf4d7933dd4206cb878a23d1c.zip
Fix output format handling for render hooks
Fixes #8176
Diffstat (limited to 'hugolib/page__per_output.go')
-rw-r--r--hugolib/page__per_output.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__per_output.go b/hugolib/page__per_output.go
index dfc82c062..f59b5f9b5 100644
--- a/hugolib/page__per_output.go
+++ b/hugolib/page__per_output.go
@@ -226,7 +226,7 @@ func newPageContentOutput(p *pageState, po *pageOutput) (*pageContentOutput, err
}
type renderHooks struct {
- hooks *hooks.Renderers
+ hooks hooks.Renderers
init sync.Once
}