chore: updated server rss endpoint
07d6d657
1 file(s) · +1 −1
| 385 | 385 | ||
| 386 | 386 | // Filter out main-blog posts |
|
| 387 | 387 | const documents = data.records.filter( |
|
| 388 | - | (doc) => doc.value.location !== "main-blog", |
|
| 388 | + | (doc) => !doc.value?.path?.includes("/posts"), |
|
| 389 | 389 | ); |
|
| 390 | 390 | ||
| 391 | 391 | // Create the feed |