Skip to main content

Feed Plugin Config

Less than 1 minuteConfigFeedPlugin ConfigTheme Config


The theme can generate feeds via @vuepress/plugin-feed, and you need to manually install the plugin before using.

You can enable this feature by setting plugins.feed to true in theme options. This default behavior generates RSS format feeds for you.

Plugin Options

The theme passes plugins.feed in theme options as plugin options to @vuepress/plugin-feed plugin.

You can pass your own options with plugins.feed, here are some common ones:


  • Type: boolean
  • Default: false

Whether to output Atom syntax files.


  • Type: boolean
  • Default: false

Whether output JSON syntax files.


  • Type: boolean
  • Default: false

Whether to output RSS syntax files.


  • Type: number
  • Default: 100

Set the maximum number of items in the feed. After all pages are sorted, the first count items will be intercepted.

If your site has a lot of articles, you may consider this option to reduce feed file size.


  • Type: (page: Page)=> boolean

  • Default:

    ({ frontmatter, filePathRelative }: Page): boolean =>
        frontmatter.home ||
        !filePathRelative ||
        frontmatter.article === false ||
        frontmatter.feed === false

A custom filter function, used to filter feed items.


  • Type: (pageA: Page, pageB: Page)=> number

Custom sorter function for feed items.

The default sorting behavior is by file adding time coming from git (needs @vuepress/plugin-git).


Check feed plugin documentationopen in new window for all available options.