mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -14,13 +14,14 @@
|
||||
package source
|
||||
|
||||
import (
|
||||
"github.com/spf13/hugo/hugofs"
|
||||
"io"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/spf13/hugo/hugofs"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"github.com/spf13/hugo/helpers"
|
||||
@@ -84,7 +85,7 @@ func (f *Filesystem) captureFiles() {
|
||||
return err
|
||||
}
|
||||
if b {
|
||||
rd, err := NewLazyFileReader(filePath)
|
||||
rd, err := NewLazyFileReader(hugofs.Source(), filePath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user