mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -433,6 +433,9 @@ func (b *sourceFilesystemsBuilder) createFs(
|
||||
}
|
||||
|
||||
if b.hasTheme {
|
||||
if !strings.HasPrefix(themeFolder, filePathSeparator) {
|
||||
themeFolder = filePathSeparator + themeFolder
|
||||
}
|
||||
themeFolderFs := newRealBase(afero.NewBasePathFs(b.themeFs, themeFolder))
|
||||
if fs == nil {
|
||||
fs = themeFolderFs
|
||||
|
Reference in New Issue
Block a user