Hello, Hugo community
I am trying to create a specific layout based on the content section. I read the link about Hugo’s templates lookup-order - https://gohugo.io/templates/lookup-order/ and I’ve also read the post How to create a specific layout and it seems that the custom single pages that I create for each section uses the _default single.html layout. The content section I want to customize is team. I was able to make a customization for the list layout. But I am having problems with the single page layout.
From my understanding to create a custom layout all I need to do is create a folder with the same name as content in themes/layouts/nameofContent and create a single.html file. I even tried overwritting the layout in the route folder layouts and it did not work.
Here is the file sturcture of my project.
basic
layouts
_default
baseof.html
list.html
month.html
single.html
year.html
team
list.html
single.html
And here is the github link to my project
themes/basic/layouts/team
themes/basic/layout/_default