wintersmith-feed
v1.0.2
Published
rss feed generator for wintersmith
Downloads
16
Maintainers
Readme
wintersmith-feed
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')