summaryrefslogtreecommitdiffstats
path: root/helpers/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/path.go')
-rw-r--r--helpers/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go
index a9e2567c6..a0b35e5ed 100644
--- a/helpers/path.go
+++ b/helpers/path.go
@@ -170,7 +170,7 @@ func (p *PathSpec) GetLayoutDirPath() string {
// GetStaticDirPath returns the absolute path to the static file dir
// for the current Hugo project.
func (p *PathSpec) GetStaticDirPath() string {
- return p.AbsPathify(p.staticDir)
+ return p.AbsPathify(p.StaticDir())
}
// GetThemeDir gets the root directory of the current theme, if there is one.