I have pages and posts folders at the root of the content folder. However, only the content inside posts shows in the sitemap. I am not sure if it is due to {{ range .Site.Pages }} in my custom sitemap. How to ensure content outside the posts folder shows up in the sitemap?
Edit: I have this code in the frontmatter to prevent pages from lists. Does that affect sitemap?
_build:
list: never
Apparently, it does. But I still want to both have the pages in sitemap, but exclude them from lists.