hugo-natrium-theme icon indicating copy to clipboard operation
hugo-natrium-theme copied to clipboard

Empty page causes error

Open akashdeep-singh opened this issue 5 years ago • 0 comments

I followed the Quick Start guide, and faced this error: Error: Error building site: failed to render pages: render of "home" failed: "C:\Hugo/Sites\try-hugo\quickstart\themes\natrium\layouts\index.html:6:15": execute of template failed: template: index.html:6:15: executing "index.html" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages

A little digging took me to this issue and the problem diagnosed according to this comment was: The issue was to do with pages being empty as its a new site and those pages were being fed into PageGroups which always errored.

akashdeep-singh avatar Apr 27 '19 14:04 akashdeep-singh