xiaoheiAh/hugo-theme-pure

Error: "can't evaluate field RegularPages"

tylerburleigh opened this issue · 1 comments

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

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