Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove included pages from local search and search engines #542

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

plumbis
Copy link
Collaborator

@plumbis plumbis commented Sep 1, 2023

Pages that are part of an include still exist as standalone Hugo pages, they are just hidden from the ToC.

These pages are being included in the sitemap, which is used for indexing the docs for both local search and search engines.

This adds a front matter setting, searchExclude, that when true will exclude the page from the sitemap. It also sets the front matter on the existing include pages.

Signed-off-by: Pete Lumbis pete@upbound.io

Signed-off-by: Pete Lumbis <pete@upbound.io>
Signed-off-by: Pete Lumbis <pete@upbound.io>
@netlify
Copy link

netlify bot commented Sep 1, 2023

Deploy Preview for crossplane ready!

Name Link
🔨 Latest commit 1668986
🔍 Latest deploy log https://app.netlify.com/sites/crossplane/deploys/64f1f631285ee400085ea779
😎 Deploy Preview https://deploy-preview-542--crossplane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jeanduplessis jeanduplessis merged commit 480b7e9 into crossplane:master Sep 1, 2023
8 checks passed
@plumbis plumbis deleted the sitemap branch March 26, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants