Generates a sitemap, RSS feed, and content index JSON for full-text search.
npx quartz plugin add github:quartz-community/content-indexplugins:
- source: github:quartz-community/content-index
enabled: true
options:
enableSiteMap: true
enableRSS: trueFor advanced use cases, you can override in TypeScript:
import * as ExternalPlugin from "./.quartz/plugins";
ExternalPlugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
rssLimit: 10,
rssFullHtml: false,
rssSlug: "index",
includeEmptyFiles: true,
});| Option | Type | Default | Description |
|---|---|---|---|
enableSiteMap |
boolean |
true |
Whether to generate a sitemap.xml file. |
enableRSS |
boolean |
true |
Whether to generate an RSS feed. |
rssLimit |
number |
10 |
Maximum number of items to include in the RSS feed. |
rssFullHtml |
boolean |
false |
Whether to include full HTML content in the RSS feed. |
rssSlug |
string |
"index" |
The slug for the RSS feed file. |
includeEmptyFiles |
boolean |
true |
Whether to include empty files in the content index. |
See the Quartz documentation for more information.
MIT