Running to an error for the command “hugo server”
below is the error and I am not sure how to fix it:
Error: Error building site: failed to render pages: render of "home" failed: "/Users/Anqi/Desktop/blog/anqi-adventure/themes/Blonde/layouts/_default/list.html:12:32": execute of template failed: template: _default/list.html:12:32: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer```
Sorry, I am not quite understand how to share my site configuration. Can you tell me where can I find that? is there a command I need to run in terminal?
Then the error occurs in the line below. If I guess correctly, you need to add the main sections to your config.yml file. See here. and also define paginator_pages under params. But Joe can provide further assistance if that does not work.