diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-02-09 13:52:36 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-02-16 13:17:53 +0100 |
commit | 639073e4fee8fd4235c1002b076e110fad4c82f2 (patch) | |
tree | 55f4c392bc4f156f8605993d3d416bd5b105cc40 /config/configProvider.go | |
parent | 21d9057dbfe64f668d5fc6a7f458e0984fbf7e56 (diff) |
Fix rebuild with resources.Concat
Fixes #12017
Diffstat (limited to 'config/configProvider.go')
-rw-r--r-- | config/configProvider.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/configProvider.go b/config/configProvider.go index 38dde3bb4..586a9b758 100644 --- a/config/configProvider.go +++ b/config/configProvider.go @@ -20,6 +20,7 @@ import ( "github.com/gohugoio/hugo/common/paths" "github.com/gohugoio/hugo/common/types" "github.com/gohugoio/hugo/common/urls" + "github.com/gohugoio/hugo/identity" "github.com/gohugoio/hugo/langs" ) @@ -31,7 +32,7 @@ type AllProvider interface { LanguagePrefix() string BaseURL() urls.BaseURL BaseURLLiveReload() urls.BaseURL - PathParser() paths.PathParser + PathParser() *paths.PathParser Environment() string IsMultihost() bool IsMultiLingual() bool @@ -57,6 +58,7 @@ type AllProvider interface { BuildDrafts() bool Running() bool Watching() bool + NewIdentityManager(name string) identity.Manager FastRenderMode() bool PrintUnusedTemplates() bool EnableMissingTranslationPlaceholders() bool |