Now I am able to get my homepage, blog and about page to show up on the menu but I would like when users land on my domain: localhost:1313 it to show the home.md file
when they click on blog to go to localhost:1313/blog
when they click on about to go to localhost:1313/about
as it stands now when they arrive they go to the to the root domain which shows the list of blog posts. How can I switch this to have them always have home.md be the start page?
Also I read the docs and it seems hugo likes the structure the url based on the folder structure but I would like cleaner URL
that means instead of localhost/post/post-title
could I just have hugo drop the /post/ without have to manually add something to the top matter of each post.md that I create?
The home page is not a content, it’s a node. See templates/homepage in the doc.
You should delete page/home.md and use a template file. If you are using a theme with a default layout for the home page, you can override it by placing your template in layouts/index.html.
@RickCogley thanks for the info on the paginator. Looking at the documents it seems like paginators can only be used on temples, okay I can work with that. This info actually helps so it can make my homepage a bit more dynamic by pulling in the last 3 post from each category or something like that.
Here’s the last bit that I am confused on now. I have index.html which is the homepage of my hugo site, it has to be a template file written in html. Okay that part is done.