mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
hugolib/filesystems: Fix theme config for Work Fs
Which was the reason why `PostCSS´ from theme(s) was not picked up. Fixes #4951
This commit is contained in:
@@ -407,6 +407,11 @@ func (b *sourceFilesystemsBuilder) createFs(
|
||||
s := &SourceFilesystem{
|
||||
SourceFs: b.p.Fs.Source,
|
||||
}
|
||||
|
||||
if themeFolder == "" {
|
||||
themeFolder = filePathSeparator
|
||||
}
|
||||
|
||||
var dir string
|
||||
if dirKey != "" {
|
||||
dir = b.p.Cfg.GetString(dirKey)
|
||||
|
Reference in New Issue
Block a user