Hi everyone I’m fairly new to Hugo and I have been reading docs for few days, forums as well. I have few questions mainly related to unique page rendering at root level.
For example layouts directory has rule that renders index.html which means it treats it specially. What would be the process of rendering about.html that uses content from partials folder. But with its unique content.
My main goal is to have http://site.com shows rendered index.html and http://site.com/blog renders blog.html and i have managed to pull exactly that using approach from this post. I was wondering is there a better approach to this problem.
Thanks in advance, sorry for kinda noobish question but i’m still warpping my head around this.
I have a similar problem/requirement (the same, in fact).
I have followed the advice given here, but it does not render my about.md or contact.md. When I point my browser to /about or /contact it gives me a 404 error.
If I create about.html or contact.html, that will get rendered, but that is not what I want.
What is supposed to be in my content/_index.md?
My layouts/_default/single.html contains just the following: