I have a feeling this is an almost trivial question…
I want to create a page like the layouts/index.html, which in my case uses a partial for each project content file (the theme is ~HugoMDL). I don’t want to change the main front page, but I want to create a page that checks/shows the completeness of the metadata for each project I have.
To test it, I modified the layouts/index.html and it works like I want to, but how do I get this page next to the normal front-page index.html as a separate page called “index2.html” or “completeness.html” and then somehow link to that from some about page or whatever?
To help you construct it I need to ask how have you arranged your content?
Are all the pages you want to render under the section /projects/?
Do you want to render all of them or only the ones with the above parameter?
No. .GetPage gets both regular pages and list pages. Everything is a Page in Hugo these days.
Also forget about range when using .GetPage it’s a different function.
Now regarding the .Render error what is inside this template? Where is it located?
You should be able to get all the posts from your projects section on a regular page and render them as you please using another way.
Since you said that you got this working earlier in your index.html under /layouts/ create the following template /layouts/sections/projects/index.html copy the contents of your /layouts/_default/list.html and then modify it with the code you got working earlier. Your projects will then be available on your section’s list page i.e /projects/