I am trying to categorize the items on this page. When I click the link of that page on the main, I want to arrive at a page which is similar to the main page where I can put tiles with the links to items page. I am not sure if this is the way to do it or are there other ways of categorizing on the theme I am using.
UPDATE 1: It worked after changing it from _index.md back toindex.md. It is really strange. Is there an issue with the Hugo rendering pages? I am using 0.37 64bit build UPDATE 2: After restarting the Hugo server I see a blank page again UPDATE 3: Maybe Hugo or the theme I use (Forty) sucks at this point. I have managed to see the layout I want once and created public folder to upload hugo-created html files on server (everthing works fine once it is static online). Right now I am working on something else (offline) and I sometimes still see the Hugo incorrectly rendering the page layout. If I am doing everything right, this must be a really annoying issue for Hugo.
For you information!
I followed the instruction on the second link by adding a dir with the same name in both /content and /layout directories. Then created index.md file with layout set to "list" (to use the list.html which I placed inside dir I have created in layout directory)
Now I get an empty page (no 404 error) on my local server while i get this error on the page served on github
index.md file on directory named "insecticide" and located inside content/plant_protection/insecticide
This is what I read in the instructions you linked above. For this purpose we create this directory (content/hugo-docs) and also create an index.md (note the spelling!) in this directory. This index.md will later contain the content for the page domain.tld/hugo-docs/.
If i name it as _index.md instead of index.md I no longer see the item named insecticide on the upper directory which you see now since i did not update the site after the change you suggested.
I still have to change the index.md file to _index.md and then back to index.md again to see the page using the layout i want. When I make any changes on the page or restart the server I see a blank page. I guess it is a bug or something. Tried this with the latest build too (0.40).