diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-03-09 10:26:44 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-03-09 13:26:39 +0100 |
commit | 18074d0c2375cc4bf4d7933dd4206cb878a23d1c (patch) | |
tree | a244eb41d5d0888494b0003e807a1884f17f4ac8 /hugolib/page__per_output.go | |
parent | 35bfb662229226d5f3cc3077ca74323f0aa88b7d (diff) | |
download | hugo-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.go | 2 |
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 } |