Skip to content

Empty page causes error #15

@akashdeep-singh

Description

@akashdeep-singh

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions