Coder learning Hugo/webstuff here so could be a rookie error…
I have a test site with pages in /content all generating and rendering OK with hugo server. This is nice!
Then I added /content/logs//log1.md and /content/logs//log2.md etc. There is a template: /layouts/logs/list.html and a logs.md in /archetypes.
- hugo new generates expected front matter
- hugo -D -v runs without error and generates all expected files in /public including /public/logs//index.html with expected content in this file. Also generates /public/logs//log1/index.html etc and these too have expected content.
BUT when I run hugo -D -v server and link to 127.0.0.1:1313/logs// I get a blank page. Not a 404. Blank page with just a pair of
tags in source view. Cannot get any content. All other pages are still OK, it’s just the material that I added under /logs that is not appearing in server mode.I don’t understand why hugo generator mode produces a /public dir that is as I expect, but server mode shows some pages as blank. No errors to guide me, so hope someone can suggest.
Otherwise, Hugo has been a fantastic find and is a great piece of work. Hope this is just a rookie error.