mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
helpers: Remove (now) unused GetStaticDir
* In Hugo there is no single static dir * It was used as a filter in the content dir, which makes no sense since any overlap here is impossible
This commit is contained in:
@@ -977,10 +977,8 @@ func (s *Site) initialize() (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
staticDir := s.PathSpec.GetStaticDirPath() + "/"
|
||||
|
||||
sp := source.NewSourceSpec(s.Cfg, s.Fs)
|
||||
s.Source = sp.NewFilesystem(s.absContentDir(), staticDir)
|
||||
s.Source = sp.NewFilesystem(s.absContentDir())
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user