hugo-natrium-theme
hugo-natrium-theme copied to clipboard
Empty page causes error
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.