Skip to content

fix(lume): exclude patron-exclusive posts from sitemap - #1057

Merged
Xe merged 1 commit into
mainfrom
me/site-7-patron-pages-visible-in-sitemap
Nov 1, 2025
Merged

fix(lume): exclude patron-exclusive posts from sitemap#1057
Xe merged 1 commit into
mainfrom
me/site-7-patron-pages-visible-in-sitemap

Conversation

@Xe

@Xe Xe commented Nov 1, 2025

Copy link
Copy Markdown
Owner

Summary

Fixed issue where patron-exclusive blog posts were appearing in the sitemap, causing them to show up in search engine results.

Changes

  • Updated sitemap configuration in lume/_config.ts to use query: "index=true" instead of query: ""
  • Added index: false to patron-exclusive homelab-v2 posts:
    • lume/src/notes/2024/homelab-v2/01.mdx
    • lume/src/notes/2024/homelab-v2/02.mdx
    • lume/src/notes/2024/homelab-v2/03.mdx

Impact

  • ✅ Patron-exclusive posts are now excluded from sitemap.xml
  • ✅ They won't appear in search engine results
  • ✅ Content remains accessible to direct visitors with proper permissions
  • ✅ Fixes SITE-7: Patron pages visible in sitemap

Verification

Built the site and confirmed:

  • Sitemap now only includes content with index=true
  • Patron-exclusive posts are built but excluded from sitemap
  • Main series page remains included in sitemap

Test Plan

  • Build site and verify sitemap excludes patron-exclusive content
  • Confirm patron-exclusive posts remain accessible via direct URLs
  • Verify normal blog posts are still included in sitemap

- Update sitemap query to only include pages with index=true
- Add index: false to patron-exclusive homelab-v2 posts
- Fixes issue where patron-only content appeared in search engines

Resolves: SITE-7
@linear

linear Bot commented Nov 1, 2025

Copy link
Copy Markdown

@Xe
Xe merged commit 9b50a8c into main Nov 1, 2025
3 checks passed
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.

1 participant