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:
Bjørn Erik Pedersen
2017-11-19 13:47:36 +01:00
parent d99db71ab5
commit c1d325934e
4 changed files with 1 additions and 25 deletions

View File

@@ -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
}