wintersmith-feed

1.0.2 • Public • Published

wintersmith-feed

Build Status npm npm

An rss feed generator for Wintersmith

Requires wintersmith-contents and typogr

npm install wintersmith-contents --save
npm install typogr --save
npm install wintersmith-feed --save
{
  "plugins": [
    "wintersmith-contents",
    "wintersmith-feed"
  ]
}

add to the require section in wintersmith's configuration file

{
  "require": {
    "typogr": "typogr"
  }
}

articles location can be configured in config.json. by default, it will use locals.name and locals.description for title and description respectively. Those can be overridden in the feed config.

{
  "feed": {
    "articles": "posts",
    "title": "my blog",
    "description": "software engineer"
  }
}

don't forget the meta tag in your layout for autodiscovery

link(rel='alternate', type='application/rss+xml', title='RSS Feed for my blog', href='/feed.xml')

Package Sidebar

Install

npm i wintersmith-feed

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

4.93 kB

Total Files

5

Last publish

Collaborators

  • valantonini