@dwspace/vuepress-plugin-rss
TypeScript icon, indicating that this package has built-in type declarations

2.0.3-alpha.26 • Public • Published

@renovamen/vuepress-plugin-reading-time@next

npm docs license

A plugin for adding RSS to VuePress 2 theme Gungnir, adapted from youngtailors/vuepress-plugin-rss.

WARNING: This plugin is only guaranted to work on VuePress theme Gungnir. It may not work on other themes.

Demo

 

Install

# pnpm
pnpm install @renovamen/vuepress-plugin-rss@next
# yarn
yarn add @renovamen/vuepress-plugin-rss@next
# npm
npm install @renovamen/vuepress-plugin-rss@next

 

Configuration

Configurate it in your .vuepress/config.js:

const { rssPlugin } = require("@renovamen/vuepress-plugin-rss");

module.exports = {
  plugins: [
    rssPlugin({
      siteURL: "https://zxh.io",  // site URL (required)
      title: "Renovamen's blog",  // site title (optional, default: `themeConfig.title`)
      description: "A blog powered by VuePress and Gungnir",  // site description (optional, default: "")
      copyright: "Renovamen 2018-2022",  // site copyright (optional, default: "")
      count: 20,  // number of posts to be generated (optional, default: 20)
      filter: (page) => true  // filter function to choose which posts to be generated (optional, default: (page) => true)
    })
  ]
}

 

License

MIT

Package Sidebar

Install

npm i @dwspace/vuepress-plugin-rss

Weekly Downloads

0

Version

2.0.3-alpha.26

License

MIT

Unpacked Size

8.03 kB

Total Files

9

Last publish

Collaborators

  • tqdat