mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03: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:
parent
d99db71ab5
commit
c1d325934e
4 changed files with 1 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue