aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__data.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page__data.go')
-rw-r--r--hugolib/page__data.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__data.go b/hugolib/page__data.go
index 7ab668503..19b0154ad 100644
--- a/hugolib/page__data.go
+++ b/hugolib/page__data.go
@@ -26,7 +26,7 @@ type pageData struct {
data page.Data
}
-func (p *pageData) Data() interface{} {
+func (p *pageData) Data() any {
p.dataInit.Do(func() {
p.data = make(page.Data)