diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-02-19 17:37:20 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-02-19 18:22:41 +0100 |
commit | 9bdedb251c7cd8f8af800c7d9914cf84292c5c50 (patch) | |
tree | 7698705157e9c3363da34d3378d2f0451e29d49e /hugolib/content_map_page.go | |
parent | dce210ab56fc885818fc5d1a084a1c3ba84e7929 (diff) | |
download | hugo-9bdedb251c7cd8f8af800c7d9914cf84292c5c50.tar.gz hugo-9bdedb251c7cd8f8af800c7d9914cf84292c5c50.zip |
Fix lazy publishing with publishResources=false
Fixes #6914
Diffstat (limited to 'hugolib/content_map_page.go')
-rw-r--r-- | hugolib/content_map_page.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go index 5075095ea..ca84ee873 100644 --- a/hugolib/content_map_page.go +++ b/hugolib/content_map_page.go @@ -262,6 +262,7 @@ func (m *pageMap) newResource(fim hugofs.FileMetaInfo, owner *pageState) (resour FileInfo: fim, RelTargetFilename: target, TargetBasePaths: targetBasePaths, + LazyPublish: !owner.m.buildConfig.PublishResources, }) } |