Sitemap generation help

I am using a Hugo theme. I wanted to add an About page so I just copied an existing page in the theme and change the content/updated all the nav menus. However, when I use command hugo -t spaced-blog to regenerate the static assets into my public folder to push to GitHub it doesn’t include the new page in the sitemap.xml.

I am guessing I shouldn’t have created the page by copying and pasting into the directory and should have used a command.

Is there a way to fix this and ensure my new page is included in the sitemap.xml

You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.