diff options
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 8a2864e7f..0359769e3 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -1326,7 +1326,7 @@ func (p *Page) update(frontmatter map[string]interface{}) error { Params: p.params, Dates: &p.PageDates, PageURLs: &p.URLPath, - BaseFilename: p.BaseFileName(), + BaseFilename: p.ContentBaseName(), ModTime: mtime, GitAuthorDate: gitAuthorDate, } |