Skip to content

Commit 9b50a8c

Browse files
authored
fix(lume): exclude patron-exclusive posts from sitemap (#1057)
- 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
1 parent 815de8b commit 9b50a8c

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

lume/_config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ site.use(tailwindcss({
157157
}));
158158
site.use(postcss());
159159
site.use(sitemap({
160-
query: "",
160+
query: "index=true",
161161
}));
162162
site.use(readInfo({
163163
extensions: [".md", ".mdx"],

lume/src/notes/2024/homelab-v2/01.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: "Rebuilding the homelab: A Rocky start"
33
date: 2024-04-29
44
patronExclusive: true
5+
index: false
56
tags:
67
- homelab
78
- RockyLinux

lume/src/notes/2024/homelab-v2/02.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: "Rebuilding the homelab: CoreOS has entered the chat"
33
date: 2024-05-05
44
patronExclusive: true
5+
index: false
56
tags:
67
- homelab
78
- coreos

lume/src/notes/2024/homelab-v2/03.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: "Rebuilding the homelab: The Talos Principle"
33
desc: "Maybe there is light at the end of the tunnel."
44
date: 2024-05-06
55
patronExclusive: true
6+
index: false
67
tags:
78
- homelab
89
- talosLinux

0 commit comments

Comments
 (0)