Replace index.html with home.html

Hi, I want to let my site look customized in Hugo. In general, index.html will display in the first.
Actually, I want to set home.html in the first. Can I replace index.html with home.html?
How to set? What is keyword?
Not just change home.html to index.html, thanks.

If you mean that you want your index pages’s URL to be displayed as /home.html one way to do it would be to first enable the uglyurls setting in your Hugo project’s config and then use the slug front matter parameter under /content/_index.md.

1 Like