aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__output.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-02-09 13:52:36 +0200
committerBjørn Erik Pedersen <[email protected]>2024-02-16 13:17:53 +0100
commit639073e4fee8fd4235c1002b076e110fad4c82f2 (patch)
tree55f4c392bc4f156f8605993d3d416bd5b105cc40 /hugolib/page__output.go
parent21d9057dbfe64f668d5fc6a7f458e0984fbf7e56 (diff)
downloadhugo-639073e4fee8fd4235c1002b076e110fad4c82f2.tar.gz
hugo-639073e4fee8fd4235c1002b076e110fad4c82f2.zip
Fix rebuild with resources.Concat
Fixes #12017
Diffstat (limited to 'hugolib/page__output.go')
-rw-r--r--hugolib/page__output.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/hugolib/page__output.go b/hugolib/page__output.go
index 9050766d1..2f4d6c205 100644
--- a/hugolib/page__output.go
+++ b/hugolib/page__output.go
@@ -51,11 +51,6 @@ func newPageOutput(
})
}
- var dependencyManager identity.Manager = identity.NopManager
- if ps.s.conf.Internal.Watch {
- dependencyManager = identity.NewManager(ps.Path() + "/" + f.Name)
- }
-
providers := struct {
page.PaginatorProvider
resource.ResourceLinksProvider
@@ -75,7 +70,7 @@ func newPageOutput(
TableOfContentsProvider: page.NopPage,
render: render,
paginator: pag,
- dependencyManagerOutput: dependencyManager,
+ dependencyManagerOutput: ps.s.Conf.NewIdentityManager((ps.Path() + "/" + f.Name)),
}
return po