From 18074d0c2375cc4bf4d7933dd4206cb878a23d1c Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Tue, 9 Mar 2021 10:26:44 +0100 Subject: Fix output format handling for render hooks Fixes #8176 --- hugolib/page__per_output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hugolib/page__per_output.go') 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 } -- cgit v1.2.3