Trouble adding a 'section'

The hosted site on Netlify - ‘projects’ is 404
My repo

The section page I’m trying to create works on localhost but not remotely. The sub-pages do work e.g. at /project/nc-express-rest-api

I tried adding a blank to the project folder, but that seems to have no effect. Unfortunately I’m having a bit of trouble understanding how Hugo puts things together :confused:

themes/hugo-theme-basic/layouts/section/project.html is empty.

Fix with:

cp layouts/_default/list.html layouts/project/


Fixed, thankyou!

The existence of the layouts/project folder was preventing the lookup of _default/list.html?


The existence of themes/hugo-theme-basic/layouts/section/project.html was preventing the lookup of _default/list.html.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.