I use hugo for very, very small site and I would like to have just
content/_index.md and couple of pages without actually creating any subdirectories. Is this possible? I understand from the documentation there are some rules for the directory structure, however I really don’t want to create subdirectories.
Is this possible?
hugo new _index.md
hugo new about.md
hugo new contact.md
Well I tried that, it does not generate anything for me.
$ ls public/
CNAME favicon.ico index_assets js version-2.3
css fonts index.html versions 404.html
Please share your repository so we can look at your templates, configuration, etc.
Sure, thank you. The code is here:
The site is here:
My goal is to create:
When I create the md files, nothing is actually rendered.
This is my very first hugo site, so there is probably lot of problems, feel free to point out on those because I am struggling really hard with this
If you want URLs like
you will need to add this to config.toml:
uglyurls = true
Which files are not rendered?
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.