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

@ -133,11 +133,6 @@ func (p *PathSpec) WorkingDir() string {
return p.workingDir
}
// StaticDir returns the relative static dir in the current configuration.
func (p *PathSpec) StaticDir() string {
return p.staticDirs[len(p.staticDirs)-1]
}
// StaticDirs returns the relative static dirs for the current configuration.
func (p *PathSpec) StaticDirs() []string {
return p.staticDirs