xiaoheiAh / hugo-theme-pure

A pure theme for Hugo
https://themes.gohugo.io/theme/hugo-theme-pure/
MIT License
267 stars 127 forks source link

Error: "can't evaluate field RegularPages" #63

Closed tylerburleigh closed 4 years ago

tylerburleigh commented 4 years ago

I get these errors when trying to build using hugo 0.62.0:

Building sites … ERROR 2019/12/30 20:18:53 render of "taxonomyTerm" failed: "C:\Users\tyler\Documents\tylerburleigh.github.io_source\themes\pure\layouts\_default\list.html:6:61": execute of template failed: template: _default\list.html:6:61: executing "content" at <.RegularPages>: can't evaluate field RegularPages in type *hugolib.pageState
ERROR 2019/12/30 20:18:53 render of "section" failed: "C:\Users\tyler\Documents\tylerburleigh.github.io_source\themes\pure\layouts\_default\list.html:6:61": execute of template failed: template: _default\list.html:6:61: executing "content" at <.RegularPages>: can't evaluate field RegularPages in type *hugolib.pageState
Total in 797 ms
Error: Error building site: failed to render pages: render of "section" failed: "C:\Users\tyler\Documents\tylerburleigh.github.io_source\themes\pure\layouts\_default\list.html:6:61": execute of template failed: template: _default\list.html:6:61: executing "content" at <.RegularPages>: can't evaluate field RegularPages in type *hugolib.pageState
WARN 2019/12/30 20:18:57 Module "pure" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Building sites … ERROR 2019/12/30 20:18:57 render of "section" failed: "C:\Users\tyler\Documents\tylerburleigh.github.io_source\themes\pure\layouts\_default\list.html:6:61": execute of template failed: template: _default\list.html:6:61: executing "content" at <.RegularPages>: can't evaluate field RegularPages in type *hugolib.pageState
ERROR 2019/12/30 20:18:57 render of "taxonomyTerm" failed: "C:\Users\tyler\Documents\tylerburleigh.github.io_source\themes\pure\layouts\_default\list.html:6:61": execute of template failed: template: _default\list.html:6:61: executing "content" at <.RegularPages>: can't evaluate field RegularPages in type *hugolib.pageState
Total in 629 ms
Error: Error building site: failed to render pages: render of "section" failed: "C:\Users\tyler\Documents\tylerburleigh.github.io_source\themes\pure\layouts\_default\list.html:6:61": execute of template failed: template: _default\list.html:6:61: executing "content" at <.RegularPages>: can't evaluate field RegularPages in type *hugolib.pageState
xiaoheiAh commented 4 years ago

In my local dev can not reproduce it,but it should be .Site.RegularPages.