fix(404): exclude sitemap-disabled pages from 404 suggestions#3317
Conversation
Previously, pages with sitemap.disable=true were shown in 404 suggestions. This change filters them out for consistency and better UX.
β Deploy Preview for academic-demo canceled.
|
|
Wow, your first PR! Welcome to the community! π Thank you for this contribution to open source and open research. It makes a huge impact for the thousands of innovators building with Hugo Blox. If you're wondering about next steps, please read our Contributor Guide for coding standards, how to run the project locally, and how to get help. We hope this is just the start of your journey with us. Let's build the future together! Join us on Discord to connect with the team and community. Awesome work, we'll take a look soon! β¨ |
|
Thanks for the PRs and for identifying that private pages can leak into the RSS feed - that's a real gap we'll fix. However, HugoBlox uses its own We'll fix the RSS feed to respect private (which was missing). Supporting Hugo's suggested |
Previously, pages with sitemap.disable=true were shown in 404 suggestions. This change filters them out for consistency and better UX.
π What type of change is this?
π― What is the purpose of this change?
This change updates the 404 page layout to respect frontmatter flags, such as 1sitemap.disable1, ensuring that hidden or excluded pages do not appear in 404 suggestions. It improves consistency with the sitemap, prevents accidental exposure of private content, and provides a cleaner user experience.
πΈ Screenshots or Screencast (if applicable)
Not applicable
βΉοΈ Documentation Check
π Contributor Agreement
Thank you for your contribution!